Oh that makes sense... since it needs to regenerate the tokens file.
I'll make that more friendly.

       Patrick Earl

On Thu, Apr 14, 2011 at 2:53 PM, Fabio Maulo <[email protected]> wrote:
> I have modified the ShowBuildMenu.bat few weeks ago.
> You have to it and generate the code in a certain sequence (only the first
> time you do it in your machine).
> IIRC, after enter in option H you have to execute:
> A,B,C
>
> On Thu, Apr 14, 2011 at 5:44 PM, Harald Mueller <[email protected]>
> wrote:
>>
>> Hi - I'm playing around to find a solution for NH-2648.
>> I have modified HqlSqlWalker.g (removed the comments in front of ->//$je),
>> but now,
>> (a) when I run ANTLRHql.bat, I get the output
>>
>> warning(105): Hql.g:665:17: no lexer rule corresponding to token: DOT
>> warning(105): Hql.g:551:46: no lexer rule corresponding to token: DOT
>> warning(105): Hql.g:542:4: no lexer rule corresponding to token: DOT
>> warning(105): Hql.g:643:4: no lexer rule corresponding to token: NUM_FLOAT
>> warning(105): Hql.g:644:4: no lexer rule corresponding to token: NUM_LONG
>> warning(105): Hql.g:646:4: no lexer rule corresponding to token:
>> NUM_DECIMAL
>> warning(105): Hql.g:645:4: no lexer rule corresponding to token:
>> NUM_DOUBLE
>> warning(105): Hql.g:576:31: no lexer rule corresponding to token: DOT
>> warning(200): Hql.g:576:83: Decision can match input such as "DOT {OBJECT,
>> IDENT}" using multiple alternatives: 1, 2
>> As a result, alternative(s) 2 were disabled for that input
>>
>> That does not look right (ANTLR grammars never should have disabled
>> inputs);
>>
>> (b) when I compile the result, I get two errors - but in files I'm not
>> really interested in (right now):
>>
>> Error   7       'NHibernate.Hql.Ast.ANTLR.HqlSqlWalker' does not contain a
>> definition for 'UNARY_PLUS'
>>  D:\Private\nhib\nhibernate\nhibernate\src\NHibernate\Hql\Ast\ANTLR\Tree\HqlSqlWalkerTreeAdapter.cs
>>      116     23      NHibernate
>> Error   10      'NHibernate.Hql.Ast.ANTLR.HqlSqlWalker' does not contain a
>> definition for 'CONSTANT'
>>  D:\Private\nhib\nhibernate\nhibernate\src\NHibernate\Hql\Ast\ANTLR\Util\LiteralProcessor.cs
>>     314     30      NHibernate
>>
>> Can anyone tell me what I do wrong?
>>
>> Thanks!
>> Harald
>>
>> --
>> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
>> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
>
>
>
> --
> Fabio Maulo
>
>

Reply via email to