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
/
p6
/
tst
/
exitErr.out.bak
< prev
next >
Wrap
Text File
|
2005-11-18
|
18KB
|
434 lines
#1: ---------- Body ----------
lineNumber=8
typeDecls=NULL
procDecls=NULL
varDecls=
#2: ---------- VarDecl ----------
lineNumber=8
id="i"
typeName=
#3: ---------- TypeName ----------
lineNumber=0
id="integer"
myDef=NULL
------------------------------
expr=
#4: ---------- IntegerConst ----------
lineNumber=8
iValue=0
------------------------------
lexLevel=0
------------------------------
stmts=
#5: ---------- IfStmt ----------
lineNumber=11
expr=
#6: ---------- BinaryOp ----------
lineNumber=11
op=EQUAL
expr1=
#7: ---------- ValueOf ----------
lineNumber=11
lValue=
#8: ---------- Variable ----------
lineNumber=11
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#9: ---------- IntegerConst ----------
lineNumber=11
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#10: ---------- ExitStmt ----------
lineNumber=11
myLoop=NULL
------------------------------
elseStmts=NULL
------------------------------
#11: ---------- LoopStmt ----------
lineNumber=12
stmts=
#12: ---------- WhileStmt ----------
lineNumber=13
expr=
#13: ---------- BinaryOp ----------
lineNumber=13
op=EQUAL
expr1=
#14: ---------- IntegerConst ----------
lineNumber=13
iValue=1
------------------------------
expr2=
#15: ---------- IntegerConst ----------
lineNumber=13
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
stmts=
#16: ---------- ForStmt ----------
lineNumber=14
lValue=
#17: ---------- Variable ----------
lineNumber=14
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
expr1=
#18: ---------- IntegerConst ----------
lineNumber=14
iValue=1
------------------------------
expr2=
#19: ---------- IntegerConst ----------
lineNumber=14
iValue=10
------------------------------
expr3=NULL
stmts=
#20: ---------- IfStmt ----------
lineNumber=15
expr=
#21: ---------- BinaryOp ----------
lineNumber=15
op=EQUAL
expr1=
#22: ---------- IntegerConst ----------
lineNumber=15
iValue=1
------------------------------
expr2=
#23: ---------- IntegerConst ----------
lineNumber=15
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#24: ---------- IfStmt ----------
lineNumber=16
expr=
#25: ---------- BinaryOp ----------
lineNumber=16
op=EQUAL
expr1=
#26: ---------- ValueOf ----------
lineNumber=16
lValue=
#27: ---------- Variable ----------
lineNumber=16
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#28: ---------- IntegerConst ----------
lineNumber=16
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#29: ---------- ReturnStmt ----------
lineNumber=16
summary= NULL
expr=NULL
myProc=NULL
------------------------------
elseStmts=NULL
------------------------------
elseStmts=
#30: ---------- IfStmt ----------
lineNumber=18
expr=
#31: ---------- BinaryOp ----------
lineNumber=18
op=EQUAL
expr1=
#32: ---------- ValueOf ----------
lineNumber=18
lValue=
#33: ---------- Variable ----------
lineNumber=18
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#34: ---------- IntegerConst ----------
lineNumber=18
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#35: ---------- ReturnStmt ----------
lineNumber=18
summary= NULL
expr=NULL
myProc=NULL
------------------------------
elseStmts=NULL
------------------------------
------------------------------
#36: ---------- IfStmt ----------
lineNumber=20
expr=
#37: ---------- BinaryOp ----------
lineNumber=20
op=EQUAL
expr1=
#38: ---------- ValueOf ----------
lineNumber=20
lValue=
#39: ---------- Variable ----------
lineNumber=20
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#40: ---------- IntegerConst ----------
lineNumber=20
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#41: ---------- ReturnStmt ----------
lineNumber=20
summary= NULL
expr=NULL
myProc=NULL
------------------------------
elseStmts=NULL
------------------------------
------------------------------
#42: ---------- IfStmt ----------
lineNumber=22
expr=
#43: ---------- BinaryOp ----------
lineNumber=22
op=EQUAL
expr1=
#44: ---------- ValueOf ----------
lineNumber=22
lValue=
#45: ---------- Variable ----------
lineNumber=22
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#46: ---------- IntegerConst ----------
lineNumber=22
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#47: ---------- ReturnStmt ----------
lineNumber=22
summary= NULL
expr=NULL
myProc=NULL
------------------------------
elseStmts=NULL
------------------------------
------------------------------
#48: ---------- IfStmt ----------
lineNumber=24
expr=
#49: ---------- BinaryOp ----------
lineNumber=24
op=EQUAL
expr1=
#50: ---------- ValueOf ----------
lineNumber=24
lValue=
#51: ---------- Variable ----------
lineNumber=24
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#52: ---------- IntegerConst ----------
lineNumber=24
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#53: ---------- ReturnStmt ----------
lineNumber=24
summary= NULL
expr=NULL
myProc=NULL
------------------------------
elseStmts=NULL
------------------------------
#54: ---------- IfStmt ----------
lineNumber=25
expr=
#55: ---------- BinaryOp ----------
lineNumber=25
op=EQUAL
expr1=
#56: ---------- ValueOf ----------
lineNumber=25
lValue=
#57: ---------- Variable ----------
lineNumber=25
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#58: ---------- IntegerConst ----------
lineNumber=25
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#59: ---------- ExitStmt ----------
lineNumber=25
myLoop=
***** This node was printed earlier (#11: LoopStmt) *****
------------------------------
elseStmts=NULL
------------------------------
------------------------------
#60: ---------- IfStmt ----------
lineNumber=27
expr=
#61: ---------- BinaryOp ----------
lineNumber=27
op=EQUAL
expr1=
#62: ---------- ValueOf ----------
lineNumber=27
lValue=
#63: ---------- Variable ----------
lineNumber=27
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#64: ---------- IntegerConst ----------
lineNumber=27
iValue=2
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#65: ---------- ReturnStmt ----------
lineNumber=27
summary= NULL
expr=NULL
myProc=NULL
------------------------------
elseStmts=NULL
------------------------------
#66: ---------- IfStmt ----------
lineNumber=28
expr=
#67: ---------- BinaryOp ----------
lineNumber=28
op=EQUAL
expr1=
#68: ---------- ValueOf ----------
lineNumber=28
lValue=
#69: ---------- Variable ----------
lineNumber=28
id="i"
myDef=
***** This node was printed earlier (#2: VarDecl) *****
currentLevel=0
------------------------------
------------------------------
expr2=
#70: ---------- IntegerConst ----------
lineNumber=28
iValue=1
------------------------------
mode=INTEGER_MODE
------------------------------
thenStmts=
#71: ---------- ExitStmt ----------
lineNumber=28
myLoop=NULL
------------------------------
elseStmts=NULL
------------------------------
------------------------------
PROGRAM IS
VAR
i: integer := 0;
BEGIN
IF (i = 1) THEN
EXIT;
END;
LOOP
WHILE (1 = 1) DO
FOR i := 1 TO 10 DO
IF (1 = 1) THEN
IF (i = 1) THEN
RETURN;
END;
ELSE
IF (i = 1) THEN
RETURN;
END;
END;
IF (i = 1) THEN
RETURN;
END;
END;
IF (i = 1) THEN
RETURN;
END;
END;
IF (i = 1) THEN
RETURN;
END;
IF (i = 1) THEN
EXIT;
END;
END;
IF (i = 2) THEN
RETURN;
END;
IF (i = 1) THEN
EXIT;
END;
END;