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:
3909a13
)
[project @ 2000-02-21 18:56:02 by panne]
author
panne
<unknown>
Mon, 21 Feb 2000 18:56:02 +0000
(18:56 +0000)
committer
panne
<unknown>
Mon, 21 Feb 2000 18:56:02 +0000
(18:56 +0000)
Fixed typo in deprecations parsing
ghc/compiler/rename/ParseIface.y
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/ParseIface.y
b/ghc/compiler/rename/ParseIface.y
index
70fc0a3
..
6858e9e
100644
(file)
--- a/
ghc/compiler/rename/ParseIface.y
+++ b/
ghc/compiler/rename/ParseIface.y
@@
-366,7
+366,7
@@
rule_forall : '__forall' '{' core_bndrs '}' { $3 }
deprecs :: { [(Maybe FAST_STRING, FAST_STRING)] }
deprecs : {- empty -} { [] }
- | deprecs ';' deprec { $3 : $1 }
+ | deprecs deprec ';' { $2 : $1 }
deprec :: { (Maybe FAST_STRING, FAST_STRING) }
deprec : STRING { (Nothing, $1) }