[project @ 2001-05-09 13:04:30 by simonpj]
authorsimonpj <unknown>
Wed, 9 May 2001 13:04:30 +0000 (13:04 +0000)
committersimonpj <unknown>
Wed, 9 May 2001 13:04:30 +0000 (13:04 +0000)
Remove unused fn getContext

ghc/compiler/parser/Lex.lhs

index a7daf47..336a1b3 100644 (file)
@@ -1190,9 +1190,6 @@ setSrcLocP new_loc p buf s =
 getSrcFile :: P FAST_STRING
 getSrcFile buf s@(PState{ loc = loc }) = POk s (srcLocFile loc)
 
-getContext :: P [LayoutContext]
-getContext buf s@(PState{ context = ctx }) = POk s ctx
-
 pushContext :: LayoutContext -> P ()
 pushContext ctxt buf s@(PState{ context = ctx }) = POk s{context = ctxt:ctx} ()