Jim,

On 4/9/2009 11:43 AM, Jim Idle wrote:
> Christopher Schultz wrote:
>> ANTLR folks,
>>
>>
>> It seems like the most logical fix is to create a new top-level
>> production that just says:
>>
>>  return=expr (EOF!)
>>
>> ...and remove the EOF entirely from my 'expr' production.
>>   
> Yes - that is the correct way to handle that.
> 
> Jim

Thanks! After I posted, I went ahead and just did it and all of my unit
tests passed (including a new one ;).

Other than that, does my grammar look okay?

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to