Skip to content
Snippets Groups Projects
Commit e239ca1b authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-02-27 10:38:16 by simonm]

parse record declarations with infix constructors.
parent f93c225a
No related branches found
No related tags found
No related merge requests found
......@@ -755,7 +755,8 @@ constr_after_context :
| OPAREN qconsym CPAREN batypes { $$ = mkconstrpre($2,$4,hsplineno); }
/* Con { op1 :: Int } */
| gtycon OCURLY fields CCURLY { $$ = mkconstrrec($1,$3,hsplineno); }
| qtycon OCURLY fields CCURLY { $$ = mkconstrrec($1,$3,hsplineno); }
| OPAREN qconsym CPAREN OCURLY fields CCURLY { $$ = mkconstrrec($2,$5,hsplineno); }
;
/* 1 S/R conflict on OCURLY -> shift */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment