--- testWhatTheHeck self parse: 'true' rule: #condition. self parse: 'true)' rule: #condition. self parse: 'true' rule: #expression. self parse: 'true)' rule: #expression. ---
First 3 tests pass, last one fails
But the grammar says: --- condition ^ expression ---
Can anyone propose an explanation?
[Notes: Yes I checked that I am testing the right grammar Yes the 'true)' test is strange, but this is precisely what I am trying to debug (why does it pass for #condition ?) ]
nicolas