Commit 92d9c522 authored by andy@galois.com's avatar andy@galois.com
Browse files

in hpc-tools, removing the use of %error, to allow happy 1.15 to be used.

parent 4799dfb3
...@@ -6,7 +6,6 @@ import HpcLexer ...@@ -6,7 +6,6 @@ import HpcLexer
%name parser %name parser
%tokentype { Token } %tokentype { Token }
%error { \ e -> error $ show (take 10 e) }
%token %token
MODULE { ID "module" } MODULE { ID "module" }
...@@ -102,5 +101,5 @@ hpcParser filename = do ...@@ -102,5 +101,5 @@ hpcParser filename = do
let tokens = initLexer txt let tokens = initLexer txt
return $ parser tokens return $ parser tokens
happyError e = error $ show (take 10 e)
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment