tests/syntax/identifier/identifier.txt
author Mario de Sousa <msousa@fe.up.pt>
Thu, 25 Oct 2012 11:15:55 +0100
changeset 683 2d96a47a75b1
parent 108 f9e001952488
permissions -rwxr-xr-x
Code cleanup: get the datatype of each entity off symbol->datatype (set in stage3 datatype checking), instead of determining it again in stage4. (NOTE: handling of IL parenthesized expressions is not working! Will be fixed later.)
################
# IL operators #
################
# which are not simultaneously 
#    - keywords (AND, OR, NOT, MOD, XOR), 
#    - or standard funtion name (which by implication are also keywords)
#               (AND, OR, NOT, MOD, XOR, as well as, GE, GT, LE, LT, EQ, NE, SUB, ADD, MUL, DIV) 
#    - or standard function block name (which by implication are also keywords)
#    - invalid identifier name (&, &N)
ANDN
CAL
CALC
CALCN
CD
CLK
CU
IN
JMP
JMPC
JMPCN
LD
LDN
ORN
PT
PV
R
R1
RET
RETC
RETCN
S
S1
ST
STN
XORN


##################
# SFC qualifiers #
##################
D
DS
L
N
P
#R  -> also an IL operator
#S  -> also an IL operator
SD
SL


#####################
# Task initialisers #
#####################
PRIORITY
SINGLE
INTERVAL