Fix to avoid generating multiple error nodes on parse error
Tweak comment handling. Mark a parse node with a new flag when it has comments