diff options
Diffstat (limited to 'lang/baci/patches/patch-ag')
-rw-r--r-- | lang/baci/patches/patch-ag | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/baci/patches/patch-ag b/lang/baci/patches/patch-ag new file mode 100644 index 00000000000..9494afe5f0d --- /dev/null +++ b/lang/baci/patches/patch-ag @@ -0,0 +1,20 @@ +$NetBSD: patch-ag,v 1.1 2002/12/27 01:27:15 jschauma Exp $ + +--- pascomp/bapascal.y.orig Thu Dec 26 20:21:20 2002 ++++ pascomp/bapascal.y Thu Dec 26 20:22:09 2002 +@@ -866,7 +866,6 @@ + { gen_exprval($4); emit1(JZER,$1); free_expr($4); } + | for_header statement + { emit1(ENDFOR,1+$1); code[$1].y = lc; } +- ; + | cbegin statements CEND + { if (level == 1) emit(COEND); in_cobegin = 0; } + ; +@@ -885,6 +884,7 @@ + + the_while : WHILE + { $$ = lc; } ++ ; + + while_expr : expr + { gen_exprval($1); free_expr($1); $$ = lc; emit(JZER);} |