You need to use recursion. Something like this:
stmt_list = simple_stmt semicolon
| stmt_list;
--
You received this message because you are subscribed to the Google Groups "SableCC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sablecc+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.