[antlr-interest] [C target] how to skip empty lines

David-Sarah Hopwood david-sarah at jacaranda.org
Thu Oct 22 22:20:32 PDT 2009


Юрушкин Михаил wrote:
> first example: stmnt <\n> stmnt <\n> stmnt <;> <\n> // i mean <\n> is  
> enough to seperate statements.

For most languages that do that, it's sufficient to add an empty statement
rule in the parser.

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com



More information about the antlr-interest mailing list