GitHub user lys0716 opened a pull request: https://github.com/apache/hive/pull/174
Add EOF for the first rule in Hplsql.g4 According to https://github.com/antlr/antlr4/issues/118, it is better to add EOF for the first rule in grammar. This can solve the potential incorrect error message. Signed-off-by: Yishuang Lu <luys...@gmail.com> You can merge this pull request into a Git repository by running: $ git pull https://github.com/lys0716/hive master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/174.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #174 ---- commit adc2d019d25fd83aedaaa5b4836430819a9de1ae Author: lys0716 <luy...@gmail.com> Date: 2017-04-29T03:33:48Z Add EOF for the first rule in Hplsql.g4 According to https://github.com/antlr/antlr4/issues/118, it is better to add EOF for the first rule in grammar. This can solve the potential incorrect error message. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---