summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-05-02 20:05:49 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-05-02 20:05:49 +0200
commit399c4acad3e4fc0306edfcd3320c61031fa90555 (patch)
tree7eb03fb4b4db057474a92069990ed2491fe5135c /ecomp-c/test1.e
parenta3651fe629769ee81acfd86d934a53866a688df0 (diff)
downloadcompilertests-399c4acad3e4fc0306edfcd3320c61031fa90555.tar.gz
compilertests-399c4acad3e4fc0306edfcd3320c61031fa90555.tar.bz2
implemented some type checks in assignments and expressions
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r--ecomp-c/test1.e2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index 88a6d26..2836091 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -47,7 +47,7 @@ begin
end;
i := 0;
- while ( i < 10 ) and not flag do
+ while ( i < 10 ) and ( not flag ) do
i := i + 1;
end;
end