diff options
author | andy@galois.com <unknown> | 2007-07-21 00:06:21 +0000 |
---|---|---|
committer | andy@galois.com <unknown> | 2007-07-21 00:06:21 +0000 |
commit | 92d9c522010a96acc86f2543163e3c36f1def3fc (patch) | |
tree | 09979e6529c27c3acd59c38c78e7f63d8f50f3ad | |
parent | 4799dfb37be922c17451f8e0f7c8d765a7a7eaab (diff) | |
download | haskell-92d9c522010a96acc86f2543163e3c36f1def3fc.tar.gz |
in hpc-tools, removing the use of %error, to allow happy 1.15 to be used.
-rw-r--r-- | utils/hpc/HpcParser.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/hpc/HpcParser.y b/utils/hpc/HpcParser.y index a6a095b9ab..3f7443771b 100644 --- a/utils/hpc/HpcParser.y +++ b/utils/hpc/HpcParser.y @@ -6,7 +6,6 @@ import HpcLexer %name parser %tokentype { Token } -%error { \ e -> error $ show (take 10 e) } %token MODULE { ID "module" } @@ -102,5 +101,5 @@ hpcParser filename = do let tokens = initLexer txt return $ parser tokens - +happyError e = error $ show (take 10 e) } |