grammar: remove no before comma in idlist
authorJean Privat <jean@pryen.org>
Thu, 9 Oct 2014 01:07:48 +0000 (21:07 -0400)
committerJean Privat <jean@pryen.org>
Thu, 9 Oct 2014 01:07:48 +0000 (21:07 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/parser/nit.sablecc3xx

index fa6d955..dd54d0e 100644 (file)
@@ -698,7 +698,7 @@ idlist {-> id*}
        ;
 idlist_nopar {-> id*}
        = {single} id {-> [id]}
-       | {more} idlist_nopar no comma [n2]:no id {-> [idlist_nopar.id, id]}
+       | {more} idlist_nopar comma [n2]:no id {-> [idlist_nopar.id, id]}
        ;
 
 module_name {-> module_name}