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:
4e6498f
)
[project @ 2004-01-23 13:42:40 by simonmar]
author
simonmar
<unknown>
Fri, 23 Jan 2004 13:42:40 +0000
(13:42 +0000)
committer
simonmar
<unknown>
Fri, 23 Jan 2004 13:42:40 +0000
(13:42 +0000)
Small simplification
ghc/compiler/parser/Parser.y.pp
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Parser.y.pp
b/ghc/compiler/parser/Parser.y.pp
index
02a723a
..
8276bb5
100644
(file)
--- a/
ghc/compiler/parser/Parser.y.pp
+++ b/
ghc/compiler/parser/Parser.y.pp
@@
-482,7
+482,7
@@
tycl_hdr :: { Located (LHsContext RdrName, Located RdrName, [LHsTyVarBndr RdrNam
decls :: { Located (OrdList (LHsDecl RdrName)) } -- Reversed
: decls ';' decl { LL (unLoc $1 `appOL` unLoc $3) }
| decls ';' { LL (unLoc $1) }
- | decl { L1 (unLoc $1) }
+ | decl { $1 }
| {- empty -} { noLoc nilOL }