Hi guys,

Due to a problem with code generation I changed my grammar rules.

After running this code: parser.parse_with_debug( '1  +  2' )

I got this result:

{:stm=>{:ident=>"2"@4}}
Duplicate subtrees while merging result of
   stm:EXP
only the values of the latter will be kept. (keys: [:ident])

Can anyone tell me what's  wrong?

And I also have another question: when do you have to use "space" in a 
grammar rule?

Thanks in advance,

Thiel









Reply via email to