Hi, I am new to language design and I am designing a language to generate code for sim card file decode. Is there any best practise for handling "undefined reference symbol" when user use a type symbol before defining it? My current implementation is just print out the symbol name and call system.exit(1) to stop further parsing? Is there a better way(throw custom exception maybe)? Thanks a lot
-- Xu Kai 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.
