projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
70d0bbb
)
[project @ 2001-11-05 14:08:28 by chak]
author
chak
<unknown>
Mon, 5 Nov 2001 14:08:28 +0000
(14:08 +0000)
committer
chak
<unknown>
Mon, 5 Nov 2001 14:08:28 +0000
(14:08 +0000)
Activation phase in a __R pragma must be in square brackets.
ghc/compiler/rename/ParseIface.y
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/ParseIface.y
b/ghc/compiler/rename/ParseIface.y
index
629afee
..
976d3b0
100644
(file)
--- a/
ghc/compiler/rename/ParseIface.y
+++ b/
ghc/compiler/rename/ParseIface.y
@@
-427,7
+427,7
@@
rule : src_loc STRING activation rule_forall qvar_name
activation :: { Activation }
activation : {- empty -} { AlwaysActive }
- | INTEGER { ActiveAfter (fromInteger $1) }
+ | '[' INTEGER ']' { ActiveAfter (fromInteger $2) }
rule_forall :: { [UfBinder RdrName] }
rule_forall : '__forall' '{' core_bndrs '}' { $3 }