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
Glasgow Haskell Compiler
GHC
Commits
21d9d573
Commit
21d9d573
authored
Jan 15, 1999
by
sof
Browse files
[project @ 1999-01-15 14:06:53 by sof]
Parser didn't like "instance Foo X where {}". Does now.
parent
ffb05ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/parser/hsparser.y
View file @
21d9d573
...
...
@@ -916,6 +916,7 @@ maybe_where:
| WHERE vocurly decls vccurly { $$ = $3; }
/* A where containing no decls is OK */
| WHERE { $$ = mknullbind(); }
| WHERE ocurly ccurly { $$ = mknullbind(); }
| /* empty */ { $$ = mknullbind(); }
;
...
...
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