diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-28 14:45:32 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-28 14:45:32 +0100 |
commit | 37303cd173fa0d19474439c011a9ebaefa0d1604 (patch) | |
tree | 91fc80942c2751b540657042d557452f4cbe6706 /ecomp-c/test1.e | |
parent | 5d98dd585d0f3357df215230ec997880c15e8a6f (diff) | |
download | compilertests-37303cd173fa0d19474439c011a9ebaefa0d1604.tar.gz compilertests-37303cd173fa0d19474439c011a9ebaefa0d1604.tar.bz2 |
some expression tree parsing and postfix output
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r-- | ecomp-c/test1.e | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e index 6a2db57..b23e4fc 100644 --- a/ecomp-c/test1.e +++ b/ecomp-c/test1.e @@ -14,10 +14,13 @@ var // this is also an integer b : integer; c : integer; // c too + d : integer; begin a := 1; b := 7; c := N; a := b; + a := a + 1; + d := a * c + b; end |