[il-antlr-interest: 23279] Re: [antlr-interest] gUnitEditor

2009-04-19 Thread Shaoting Cai
Hi Aaron, Could you send me a copy of your grammar and the test file? Shaoting On Sun, Apr 19, 2009 at 5:20 PM, Aaron Leiby wrote: > I think my first problem was that I was expecting it to compile the grammar > for me as needed.  When it didn't do that, I had ANTLRworks export the .java > file

[il-antlr-interest: 23277] Re: [antlr-interest] gUnitEditor

2009-04-19 Thread Aaron Leiby
I think my first problem was that I was expecting it to compile the grammar for me as needed. When it didn't do that, I had ANTLRworks export the .java files for me, and when that didn't work, I had ANTLRworks compile it for me (via its automatic support when using its Debug... facilities). Unfort

[il-antlr-interest: 23276] Re: [antlr-interest] Need help for SL_Comment in Java Grammar

2009-04-19 Thread Shaoting Cai
Hi Vasanthi, You can try using SL_COMMENT : "//" (~('\r'|'\n'))*{$channel=HIDDEN;}; instead of skip() the token. Shaoting On Thu, Apr 16, 2009 at 10:10 AM, vasanthi a wrote: > HI ALL > > I am facing a problem in SL_Comment.. > My code has //[FEATURE_PDL_START]// > > but when it finds //, it ig

[il-antlr-interest: 23275] Re: [antlr-interest] gUnitEditor

2009-04-19 Thread Shaoting Cai
Hi Aaron, Thanks for reporting this. Is your grammar using any user defined classes? gUnit runtime will look for all the classes needed to run the grammar. Could you try just run gUnit without GUI and see if it complains? $ java org.antlr.gunit.Interp < MyGrammar.gunit Shaoting On Sat, Apr 18

[il-antlr-interest: 23274] Re: [antlr-interest] Retaining Comments after parsing the file

2009-04-19 Thread Tilman Bender
Hi, The problem is, that you use skip() where you should actually use something like: : "//" (~('\r'|'\n'))* {$channel=HIDDEN;} This way the comment will still be acessible in the parser: http://www.antlr.org/wiki/pages/viewpage.action?pageId=557063 HTH Tilman Bender Student des Software En

[il-antlr-interest: 23273] [antlr-interest] Retaining Comments after parsing the file

2009-04-19 Thread vasanthi a
HI All I am facing a problem, while I try to instrument a source file which is having comment. I am using the below source for checking the grammar. // Single-line comments SL_COMMENT : "//" (~('\r'|'\n'))* {$setType(Token.SKIP);} ; Once the grammar is checked, it skips this line and the ins

[il-antlr-interest: 23271] Hot young girl goes topless on her patio after a sexy dance and some great strip tease action. Check out the boobs on this sexy little vixen! Dont miss this sexy video!

2009-04-19 Thread tegargarg
Hot young girl goes topless on her patio after a sexy dance and some great strip tease action. Check out the boobs on this sexy little vixen! Dont miss this sexy video! Token Humor is a video site that updates it content daily with 10 Funny Videos. We try to only pick the best Funny Videos, Sex