Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
354011fa
Commit
354011fa
authored
Jan 23, 2004
by
simonmar
Browse files
[project @ 2004-01-23 13:42:40 by simonmar]
Small simplification
parent
4e6498f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/parser/Parser.y.pp
View file @
354011fa
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment