[antlr-interest] void* conversion in C runtime

Gavin Lambert antlr at mirality.co.nz
Mon Feb 23 10:39:20 PST 2009


At 07:16 24/02/2009, Robert Soule wrote:
 >I believe there is an extra ")" in the generated code:
 >
 > // Foo.g:127:108: ( '.' IDENTIFIER )*
 > {
 >  while ( (stream_IDENTIFIER != NULL &&
 >             stream_IDENTIFIER->hasNext(stream_IDENTIFIER)) ||
 >             stream_207 != NULL &&
 >             stream_207->hasNext(stream_207))  )      // Line 
11798
 >here.
 >  {
 >    // some other code
 >  }
 > // some other code
 >}

Actually looks more like a *missing* ( on the prior line :)



More information about the antlr-interest mailing list