summaryrefslogtreecommitdiff
path: root/utils/genprimopcode
diff options
context:
space:
mode:
authorMichael D. Adams <adamsmd@cs.indiana.edu>2007-07-13 20:19:13 +0000
committerMichael D. Adams <adamsmd@cs.indiana.edu>2007-07-13 20:19:13 +0000
commit3da243bf737dc3e26dfbfa943df1fda1ce7c1bab (patch)
tree86b66186dfd282e876494866ac3ec6b3c682467e /utils/genprimopcode
parente3ce0f4f257c7d834fa7e50611e892d7fb712c36 (diff)
downloadhaskell-3da243bf737dc3e26dfbfa943df1fda1ce7c1bab.tar.gz
Warning Police: Unused imports
Diffstat (limited to 'utils/genprimopcode')
-rw-r--r--utils/genprimopcode/Lexer.x2
-rw-r--r--utils/genprimopcode/ParserM.hs2
2 files changed, 1 insertions, 3 deletions
diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x
index 8d0c3e93ff..2b8289a0f2 100644
--- a/utils/genprimopcode/Lexer.x
+++ b/utils/genprimopcode/Lexer.x
@@ -3,7 +3,7 @@
module Lexer (lex_tok) where
import ParserM (ParserM (..), mkT, mkTv, Token(..), St, start_code,
- StartCode, Action, set_start_code,
+ set_start_code,
inc_brace_depth, dec_brace_depth,
show_pos, position, input,
AlexInput, alexGetChar, alexInputPrevChar)
diff --git a/utils/genprimopcode/ParserM.hs b/utils/genprimopcode/ParserM.hs
index d70947bb8e..edc300d6cc 100644
--- a/utils/genprimopcode/ParserM.hs
+++ b/utils/genprimopcode/ParserM.hs
@@ -18,8 +18,6 @@ module ParserM (
happyError
) where
-import Syntax
-
-- Parser Monad
newtype ParserM a = ParserM (AlexInput -> St -> Either String (AlexInput, St, a))