Parser: remove unused rule (copy/paste error)
authorSergei Trofimovich <siarheit@google.com>
Sat, 13 Dec 2014 21:05:42 +0000 (21:05 +0000)
committerSergei Trofimovich <siarheit@google.com>
Sat, 13 Dec 2014 21:05:42 +0000 (21:05 +0000)
commit288c7c6ad40dbb81bf559c826fbc480f7882f250
tree4decf6f2573e5f6f006955051532055acae0f9b5
parent3ec9391711f30e9610c4babcff61e126ccc590ab
Parser: remove unused rule (copy/paste error)

Summary:
Found out when tracking down conflicts reported by happy.
It was accidentally introduced in large Api Annotations
patch: 803fc5db31f084b73713342cdceaed5a9c664267

Before:
  unused rules: 1
  shift/reduce conflicts:  60
  reduce/reduce conflicts: 16
After:
  shift/reduce conflicts:  60
  reduce/reduce conflicts: 12

Unused rule is seen in happy's --info= output as:
    rule 180 is unused
    ...
    decl_cls -> 'default' infixexp '::' sigtypedoc     (180)
    decl_cls -> 'default' infixexp '::' sigtypedoc     (181)

While at it removed 'q' typo in parser conflict log :)

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

Reviewed By: alanz

Subscribers: carter, thomie

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