diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-08-29 07:24:46 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-08-29 07:24:46 +0200 |
commit | 8e61ffad808f8874148141e0541b7a84cc0b7145 (patch) | |
tree | eb358efc921b4cb51ef80dcabdbefe52cd9d3e4c | |
parent | 9bab6be83c98fe62ba9b7aa51f000ade991d3142 (diff) | |
download | compilertests-8e61ffad808f8874148141e0541b7a84cc0b7145.tar.gz compilertests-8e61ffad808f8874148141e0541b7a84cc0b7145.tar.bz2 |
fixed a semicolon handling in procedure declarations
-rw-r--r-- | ecomp-c/ec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecomp-c/ec.c b/ecomp-c/ec.c index 0ff71bd..c309f1d 100644 --- a/ecomp-c/ec.c +++ b/ecomp-c/ec.c @@ -2253,6 +2253,8 @@ static void parseProcedureDeclaration( Scope *scope ) param = param->next; } } + } else { + Abort( "Semicolon expected" ); } /* procedure body */ |