Some minor fixes in parser.
This commit is contained in:
parent
14a8f396e1
commit
78e33c29bb
1 changed files with 3 additions and 3 deletions
|
@ -242,7 +242,7 @@ f_generate_ec(u16 kind, struct f_inst *tk, struct f_inst *tv)
|
||||||
}
|
}
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -619,8 +619,8 @@ constant:
|
||||||
;
|
;
|
||||||
|
|
||||||
constructor:
|
constructor:
|
||||||
'(' term ',' term ')' { $$ = f_generate_dpair($2, $4); };
|
'(' term ',' term ')' { $$ = f_generate_dpair($2, $4); }
|
||||||
| '(' ec_kind ',' term ',' term ')' { $$ = f_generate_ec($2, $4, $6); };
|
| '(' ec_kind ',' term ',' term ')' { $$ = f_generate_ec($2, $4, $6); }
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue