[antlr-interest] section identifiers

David Brunton dbrunton at gmail.com
Tue Apr 1 08:52:21 PDT 2008


I am parsing some files that have sections demarcated with the "begin" and
"end" at the start of a line, followed by a (matching) arbitrary identifier:

<snip>
begin foo
some stuff
some other stuff
end but don't end the section!
other stuff
end foo
</snip>

I don't need to parse anything inside of the section.

I imagine this is a fairly common problem- any pointers?

Best,
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080401/d6eabe95/attachment.html 


More information about the antlr-interest mailing list