projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c3ca2
)
[project @ 2001-05-09 13:04:30 by simonpj]
author
simonpj
<unknown>
Wed, 9 May 2001 13:04:30 +0000
(13:04 +0000)
committer
simonpj
<unknown>
Wed, 9 May 2001 13:04:30 +0000
(13:04 +0000)
Remove unused fn getContext
ghc/compiler/parser/Lex.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Lex.lhs
b/ghc/compiler/parser/Lex.lhs
index
a7daf47
..
336a1b3
100644
(file)
--- a/
ghc/compiler/parser/Lex.lhs
+++ b/
ghc/compiler/parser/Lex.lhs
@@
-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} ()