[antlr-interest] fragment: simple (or naive) usage does not work

Martin d'Anjou martin.danjou at neterion.com
Wed Mar 14 12:36:58 PDT 2007


>> On Feb 27, 2007, at 11:26 AM, Martin d'Anjou wrote: 
>> http://www.antlr.org/pipermail/antlr-interest/2007-February/019523.html 
>>

On Wed, 14 Mar 2007, Terence Parr wrote:

> Hi.  Works on my latest version.  I copied your lexer into T.g and made a 
> test file:
>
> [deleted]
>
> Let me know if you want my TLexer.java file so we can compare.
>
> Ter

Thanks a lot for looking at it. As posted earlier, my mistake was in the 
way I build the .java files: the parser was not rebuilt when the .tokens 
file changed. I modified my makefile such that the parser .java file is 
rebuilt when the .tokens file changes, and the problem went away.

Martin


More information about the antlr-interest mailing list