add comments about grammar vars and make them non-static
Enhance error recovery mechanism