[il-antlr-interest: 26392] Re: [antlr-interest] Combining multiple tokens

2009-10-19 Thread Jeffrey Cameron
> > I'm not entirely sure I understand the particulars of what you're trying to > do > but... > > At 10/18/2009 05:01 PM, Jeffrey Cameron wrote: > > > > I have two parser rules in my grammar where I am trying to wrap the > complete, > > concatenated text

[il-antlr-interest: 26374] [antlr-interest] Combining multiple tokens

2009-10-18 Thread Jeffrey Cameron
I have two parser rules in my grammar where I am trying to wrap the complete, concatenated text of a series of tokens into a single token for a tree grammar. The rules look like this: *#1:* cell : (~(VBAR|EOL))* ; in this case I would like to write something like this: cell : (~(VBAR|EOL))* ->