Damien Cassou wrote: > Hi, > > my compiler is made of two grammars: one combined grammar parses the > language and constructs a tree while the second pass verifies the > tree. I would like to print error messages when there are semantic > errors in the second pass. For example, referencing a variable that is > not defined should result in: > Get the start token from a node, Get the stop token from the node. The span is the first character of the start token to the last character of the stop token.
Jim 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 -~----------~----~----~----~------~----~------~--~---
