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:
e5f501b
)
[project @ 1998-06-09 09:53:03 by sof]
author
sof
<unknown>
Tue, 9 Jun 1998 09:53:03 +0000
(09:53 +0000)
committer
sof
<unknown>
Tue, 9 Jun 1998 09:53:03 +0000
(09:53 +0000)
typo in classd
ghc/compiler/parser/hsparser.y
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/hsparser.y
b/ghc/compiler/parser/hsparser.y
index
627ccfe
..
6637779
100644
(file)
--- a/
ghc/compiler/parser/hsparser.y
+++ b/
ghc/compiler/parser/hsparser.y
@@
-511,7
+511,7
@@
classd : classkey btype DARROW simple_con_app1 cbody
| classkey btype cbody
/* We have to say btype rather than simple_con_app1, else
we get reduce/reduce errs */
- { check_class_decl_head($3);
+ { check_class_decl_head($2);
$$ = mkcbind(Lnil,$2,$3,startlineno); }
;