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
%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)
}
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