]> thyrsus.com Git - cupl.git/commitdiff
Grammar corrections.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 30 Jul 2002 19:35:57 +0000 (19:35 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 30 Jul 2002 19:35:57 +0000 (19:35 +0000)
cupl.y

diff --git a/cupl.y b/cupl.y
index 9c81c2ca8eb5c43949bac34f7cf65048412a3c31..4b999eef1b0f0c946d984a05b40d462c6c96a489 100644 (file)
--- a/cupl.y
+++ b/cupl.y
@@ -93,6 +93,7 @@ int yydebug;
 
 /* a program description consists of a sequence of statements */
 program :    prog                      {interpret($1);}
+       ;
 
 prog   :    command prog
                {
@@ -161,6 +162,7 @@ iter        :    TO expr BY expr            {$$ = cons(TO, $2, $4);}
 
 triple  :    '(' expr ',' expr ',' expr ')'
                {$$ = cons(TRIPLE, $2, cons(ITERATE, $4, $6));}
+       ;
 
 expl   :    expr ',' expl              {$$ = cons(FORLIST, $1, $3);}
        |    triple ',' expl            {$$ = cons(FORLIST, $1, $3);}