Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsecmm.mly in ocaml subdirectory #357

Merged
merged 3 commits into from
Nov 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix parsecmm.mly to parse new field of Cextcall
Partially from upstream #9752
  • Loading branch information
gretay-js committed Oct 27, 2021
commit 533364594b8b5a85619c0f0a2e2f8596a8800364
2 changes: 1 addition & 1 deletion ocaml/testsuite/tools/parsecmm.mly
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ expr:
| LPAREN APPLY location expr exprlist machtype RPAREN
{ Cop(Capply $6, $4 :: List.rev $5, debuginfo ?loc:$3 ()) }
| LPAREN EXTCALL STRING exprlist machtype RPAREN
{Cop(Cextcall($3, $5, false, None), List.rev $4, debuginfo ())}
{Cop(Cextcall($3, $5, [], false, None), List.rev $4, debuginfo ())}
| LPAREN ALLOC exprlist RPAREN { Cop(Calloc, List.rev $3, debuginfo ()) }
| LPAREN SUBF expr RPAREN { Cop(Cnegf, [$3], debuginfo ()) }
| LPAREN SUBF expr expr RPAREN { Cop(Csubf, [$3; $4], debuginfo ()) }
Expand Down