Hello everyone,

I would just like to ask if there is a way of ignoring sections of input 
language. Something like:

i want to recognize these sentences only and ignore everything that 
doesn't look like them.

I tried:
sentence: macro | ~macro
but antlr gives me an error: unexpected token: macro (quite 
understandable i guess, since is not a token but a syntactic rule).

So, summing up: can i tell antlr i want to recognize some specific 
syntactic rules and ignore everyother single stuff that doesn't match?? 
Maybe something like disabling errors (not that i like this alternative 
very much).

Best regards,

Bahr.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to