yacc parser: fix incorrect context name
yacc parser: do not allow C++ parser to recognize $ symbol