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 >
Text File  |  2005-11-01  |  4KB  |  110 lines

  1. find           called with 'y'
  2. alreadyDefined called with 'x'
  3. enter          called with 'x'
  4. alreadyDefined called with 'y'
  5. enter          called with 'y'
  6. find           called with 'y'
  7. alreadyDefined called with 'z'
  8. enter          called with 'z'
  9. find           called with 'w'
  10. alreadyDefined called with 'w'
  11. enter          called with 'w'
  12. #1:   ---------- Body ----------
  13.         lineNumber=4
  14.         typeDecls=NULL
  15.         procDecls=NULL
  16.         varDecls=
  17. #2:       ---------- VarDecl ----------
  18.             lineNumber=4
  19.             id="x"
  20.             typeName=NULL
  21.             expr=
  22. #3:           ---------- BinaryOp ----------
  23.                 lineNumber=4
  24.                 op=PLUS
  25.                 expr1=
  26. #4:               ---------- ValueOf ----------
  27.                     lineNumber=4
  28.                     lValue=
  29. #5:                   ---------- Variable ----------
  30.                         lineNumber=4
  31.                         id="y"
  32.                         myDef=NULL
  33.                         currentLevel=0
  34.                       ------------------------------
  35.                   ------------------------------
  36.                 expr2=
  37. #6:               ---------- IntegerConst ----------
  38.                     lineNumber=4
  39.                     iValue=1
  40.                   ------------------------------
  41.               ------------------------------
  42.             lexLevel=0
  43.           ------------------------------
  44. #7:       ---------- VarDecl ----------
  45.             lineNumber=5
  46.             id="y"
  47.             typeName=NULL
  48.             expr=
  49. #8:           ---------- IntegerConst ----------
  50.                 lineNumber=5
  51.                 iValue=1
  52.               ------------------------------
  53.             lexLevel=0
  54.           ------------------------------
  55. #9:       ---------- VarDecl ----------
  56.             lineNumber=6
  57.             id="z"
  58.             typeName=NULL
  59.             expr=
  60. #10:          ---------- BinaryOp ----------
  61.                 lineNumber=6
  62.                 op=PLUS
  63.                 expr1=
  64. #11:              ---------- ValueOf ----------
  65.                     lineNumber=6
  66.                     lValue=
  67. #12:                  ---------- Variable ----------
  68.                         lineNumber=6
  69.                         id="y"
  70.                         myDef=
  71.                           *****  This node was printed earlier (#7: VarDecl) *****
  72.                         currentLevel=0
  73.                       ------------------------------
  74.                   ------------------------------
  75.                 expr2=
  76. #13:              ---------- IntegerConst ----------
  77.                     lineNumber=6
  78.                     iValue=1
  79.                   ------------------------------
  80.               ------------------------------
  81.             lexLevel=0
  82.           ------------------------------
  83. #14:      ---------- VarDecl ----------
  84.             lineNumber=7
  85.             id="w"
  86.             typeName=NULL
  87.             expr=
  88. #15:          ---------- ValueOf ----------
  89.                 lineNumber=7
  90.                 lValue=
  91. #16:              ---------- Variable ----------
  92.                     lineNumber=7
  93.                     id="w"
  94.                     myDef=NULL
  95.                     currentLevel=0
  96.                   ------------------------------
  97.               ------------------------------
  98.             lexLevel=0
  99.           ------------------------------
  100.         stmts=NULL
  101.       ------------------------------
  102. PROGRAM IS
  103.     VAR
  104.         x := (y + 1);
  105.         y := 1;
  106.         z := (y + 1);
  107.         w := w;
  108.     BEGIN
  109.     END;
  110.