Parser: use 'error' token in error reporting rules
authorSergei Trofimovich <siarheit@google.com>
Tue, 16 Dec 2014 22:16:42 +0000 (22:16 +0000)
committerSergei Trofimovich <siarheit@google.com>
Tue, 16 Dec 2014 22:16:42 +0000 (22:16 +0000)
commitea788f0fc53000afd264f0452f23b597887df9f9
treea26e44ff53d28c2e065e9593e11df320bbbfbf6b
parent5444560b26a14750ae59578d354d98eaff9c7a41
Parser: use 'error' token in error reporting rules

Summary:
It exempts us from 11 reduce/reduce conflicts and
12 shift/reduce conflicts.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Reviewers: simonpj, mikeizbicki, austin, simonmar

Reviewed By: simonmar

Subscribers: carter, thomie

Differential Revision: https://phabricator.haskell.org/D571
compiler/parser/Parser.y