tests/syntax/identifier/identifier.txt
author mjsousa
Sun, 13 Jul 2014 13:47:16 +0100
changeset 910 a0518971127d
parent 108 f9e001952488
permissions -rwxr-xr-x
Narrow array subscripts correctly, even in the presence of other datatype errors (so we do not generate error messages for array subscripts that do not contain errors).
108
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     1
################
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     2
# IL operators #
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     3
################
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     4
# which are not simultaneously 
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     5
#    - keywords (AND, OR, NOT, MOD, XOR), 
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     6
#    - or standard funtion name (which by implication are also keywords)
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     7
#               (AND, OR, NOT, MOD, XOR, as well as, GE, GT, LE, LT, EQ, NE, SUB, ADD, MUL, DIV) 
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     8
#    - or standard function block name (which by implication are also keywords)
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
     9
#    - invalid identifier name (&, &N)
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    10
ANDN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    11
CAL
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    12
CALC
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    13
CALCN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    14
CD
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    15
CLK
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    16
CU
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    17
IN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    18
JMP
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    19
JMPC
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    20
JMPCN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    21
LD
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    22
LDN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    23
ORN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    24
PT
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    25
PV
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    26
R
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    27
R1
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    28
RET
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    29
RETC
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    30
RETCN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    31
S
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    32
S1
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    33
ST
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    34
STN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    35
XORN
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    36
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    37
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    38
##################
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    39
# SFC qualifiers #
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    40
##################
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    41
D
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    42
DS
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    43
L
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    44
N
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    45
P
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    46
#R  -> also an IL operator
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    47
#S  -> also an IL operator
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    48
SD
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    49
SL
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    50
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    51
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    52
#####################
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    53
# Task initialisers #
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    54
#####################
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    55
PRIORITY
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    56
SINGLE
f9e001952488 Regression tests. Test correct parsing of identifiers.
mario
parents:
diff changeset
    57
INTERVAL