add test
Merge branch 'master' into fix-661
Merge branch 'master' into fix-661
Fixes #661.  A parser rule reference within a lexer rule would get a bad error message and then an exception. Further, errors within the grammar tree visitor would go to standard error instead of to an error manager because none of the subclasses implemented getErrorManager(). Introduced an error type for this error PARSER_RULE_REF_IN_LEXER_RULE. Added to unit test.
Merge pull request #662 from parrt/fix-661

Fix 661