diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2020-02-15 17:28:26 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-02-16 09:47:44 -0500 |
commit | ee1e5342f612c8b06ac910cd698558ade7a1a887 (patch) | |
tree | b86197aa1ae54747e298c3f7ccfaacbc7df60917 /compiler | |
parent | 9792c81663d8bef3abfe22cf45405d8d282afe08 (diff) | |
download | haskell-ee1e5342f612c8b06ac910cd698558ade7a1a887.tar.gz |
Fix the "unused terminals: 2" warning in Parser.y
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/parser/Parser.y | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y index 4d86da2c50..8cb9a96df1 100644 --- a/compiler/parser/Parser.y +++ b/compiler/parser/Parser.y @@ -142,7 +142,7 @@ state 61 contains 47 shift/reduce conflicts. *** btype -> tyapps . tyapps -> tyapps . tyapp - Conflicts: '_' ':' '~' '!' '.' '`' '{' '[' '[:' '(' '(#' '`' TYPEAPP + Conflicts: '_' ':' '~' '!' '.' '`' '{' '[' '(' '(#' '`' TYPEAPP SIMPLEQUOTE VARID CONID VARSYM CONSYM QCONID QVARSYM QCONSYM STRING INTEGER TH_ID_SPLICE '$(' TH_QUASIQUOTE TH_QQUASIQUOTE and all the special ids. @@ -561,8 +561,6 @@ are the most common patterns, rewritten as regular expressions for clarity: vccurly { L _ ITvccurly } -- virtual close curly (from layout) '[' { L _ ITobrack } ']' { L _ ITcbrack } - '[:' { L _ ITopabrack } - ':]' { L _ ITcpabrack } '(' { L _ IToparen } ')' { L _ ITcparen } '(#' { L _ IToubxparen } |