diff options
author | Ian Lynagh <igloo@earth.li> | 2009-06-08 20:39:35 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-06-08 20:39:35 +0000 |
commit | 1a660e030bd3aaaa34adfea77d72856cdb48479e (patch) | |
tree | 28d1d62a98c79f305e1f02ab4f8e523cd8108a3c /utils | |
parent | 4e8e0ed5c8d927e732c449bdee8117255dc2b1bc (diff) | |
download | haskell-1a660e030bd3aaaa34adfea77d72856cdb48479e.tar.gz |
Put "%expect 0" directives in the .y files
With the exception of GHC's main Parser.y(.pp), which has 2
reduce/reduce conflicts
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ext-core/Parser.y | 1 | ||||
-rw-r--r-- | utils/genprimopcode/Parser.y | 1 | ||||
-rw-r--r-- | utils/hpc/HpcParser.y | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/utils/ext-core/Parser.y b/utils/ext-core/Parser.y index add3ef0b46..67db7bc523 100644 --- a/utils/ext-core/Parser.y +++ b/utils/ext-core/Parser.y @@ -8,6 +8,7 @@ import Lex } %name parse +%expect 0 %tokentype { Token } %token diff --git a/utils/genprimopcode/Parser.y b/utils/genprimopcode/Parser.y index 7ebe2a8ae3..9bf20c2dd7 100644 --- a/utils/genprimopcode/Parser.y +++ b/utils/genprimopcode/Parser.y @@ -16,6 +16,7 @@ import Syntax } %name parsex +%expect 0 %tokentype { Token } %monad { ParserM } %lexer { lex_tok } { TEOF } diff --git a/utils/hpc/HpcParser.y b/utils/hpc/HpcParser.y index cf1d156c6e..b99e3246cf 100644 --- a/utils/hpc/HpcParser.y +++ b/utils/hpc/HpcParser.y @@ -12,6 +12,7 @@ import HpcLexer } %name parser +%expect 0 %tokentype { Token } %token |