Fixed a bug in the parser
Fixed a bug in the parser

The removal from the allocated nodes stack didn't always find the
corresponding tree node.

compiler-dept/event-compiler,compiler-dept/event-compiler