summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbjj <bjj>2004-04-09 19:52:52 (GMT)
committerbjj <bjj>2004-04-09 19:52:52 (GMT)
commit9305c9aa5c57241080e5d0c9029498234def197a (patch)
treeb53e1211ca9f6bcd520961064a28ae72a73e9378
parent616bff64c818aa348bd367e04123d361f90cbe95 (diff)
downloadmoo-9305c9aa5c57241080e5d0c9029498234def197a.zip
moo-9305c9aa5c57241080e5d0c9029498234def197a.tar.gz
moo-9305c9aa5c57241080e5d0c9029498234def197a.tar.bz2
moo-9305c9aa5c57241080e5d0c9029498234def197a.tar.xz
Add missing ; to make newer bison happy.
-rw-r--r--parser.y9
1 files changed, 9 insertions, 0 deletions
diff --git a/parser.y b/parser.y
index ae8968f..c3293d9 100644
--- a/parser.y
+++ b/parser.y
@@ -321,16 +321,19 @@ excepts:
tmp->next = $4;
$$ = $1;
}
+ ;
except:
opt_id '(' codes ')' statements
{ $$ = alloc_except($1 ? find_id($1) : -1, $3, $5); }
+ ;
opt_id:
/* NOTHING */
{ $$ = 0; }
| tID
{ $$ = $1; }
+ ;
expr:
tINTEGER
@@ -585,18 +588,21 @@ expr:
dollars_up:
/* NOTHING */
{ dollars_ok++; }
+ ;
codes:
tANY
{ $$ = 0; }
| ne_arglist
{ $$ = $1; }
+ ;
default:
/* NOTHING */
{ $$ = 0; }
| tARROW expr
{ $$ = $2; }
+ ;
arglist:
/* NOTHING */
@@ -1226,6 +1232,9 @@ char rcsid_parser[] = "$Id$";
/*
* $Log$
+ * Revision 1.3 2004/04/09 19:52:52 bjj
+ * Add missing ; to make newer bison happy.
+ *
* Revision 1.2 1998/12/14 13:18:45 nop
* Merge UNSAFE_OPTS (ref fixups); fix Log tag placement to fit CVS whims
*