Hi all, Using ANTLR v3.2, in the runtime I generate the lexer and parser Java files using this code: org.antlr.Tool.main(new String[]{projectPath+"GrammarFile.g"});
The problem is that, after this line of code, no other code gets executed, for example, in this piece of code: System.out.println("Before"); org.antlr.Tool.main(new String[]{projectPath+"GrammarFile.g"}); System.out.println("After"); Output: "Before" will be printed, the lexer and parser will be generated, BUT "After" will NOT be printed.. Using Java Graphical User Interface, whenever I call this line of code in my application, it indeed creates the lexer and parser but then the application freezes.. Any idea why this happens? Or how I can avoid it? -- Sameh W. Zaky 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 il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.