home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p5
/
tst
/
e21.out.bak
< prev
next >
Wrap
Text File
|
2005-11-01
|
4KB
|
110 lines
find called with 'y'
alreadyDefined called with 'x'
enter called with 'x'
alreadyDefined called with 'y'
enter called with 'y'
find called with 'y'
alreadyDefined called with 'z'
enter called with 'z'
find called with 'w'
alreadyDefined called with 'w'
enter called with 'w'
#1: ---------- Body ----------
lineNumber=4
typeDecls=NULL
procDecls=NULL
varDecls=
#2: ---------- VarDecl ----------
lineNumber=4
id="x"
typeName=NULL
expr=
#3: ---------- BinaryOp ----------
lineNumber=4
op=PLUS
expr1=
#4: ---------- ValueOf ----------
lineNumber=4
lValue=
#5: ---------- Variable ----------
lineNumber=4
id="y"
myDef=NULL
currentLevel=0
------------------------------
------------------------------
expr2=
#6: ---------- IntegerConst ----------
lineNumber=4
iValue=1
------------------------------
------------------------------
lexLevel=0
------------------------------
#7: ---------- VarDecl ----------
lineNumber=5
id="y"
typeName=NULL
expr=
#8: ---------- IntegerConst ----------
lineNumber=5
iValue=1
------------------------------
lexLevel=0
------------------------------
#9: ---------- VarDecl ----------
lineNumber=6
id="z"
typeName=NULL
expr=
#10: ---------- BinaryOp ----------
lineNumber=6
op=PLUS
expr1=
#11: ---------- ValueOf ----------
lineNumber=6
lValue=
#12: ---------- Variable ----------
lineNumber=6
id="y"
myDef=
***** This node was printed earlier (#7: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#13: ---------- IntegerConst ----------
lineNumber=6
iValue=1
------------------------------
------------------------------
lexLevel=0
------------------------------
#14: ---------- VarDecl ----------
lineNumber=7
id="w"
typeName=NULL
expr=
#15: ---------- ValueOf ----------
lineNumber=7
lValue=
#16: ---------- Variable ----------
lineNumber=7
id="w"
myDef=NULL
currentLevel=0
------------------------------
------------------------------
lexLevel=0
------------------------------
stmts=NULL
------------------------------
PROGRAM IS
VAR
x := (y + 1);
y := 1;
z := (y + 1);
w := w;
BEGIN
END;