ref: e06a619d7769dc7e2081c1ede01949991041b3a5
parent: 9b896cb060677c0ffdcceb8d0f93684dca16b017
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Jan 7 07:53:44 EST 2016
Move expect() in arguments() This change makes the code more simetric.
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -630,10 +630,10 @@
} while (accept(','));
no_pars:
+ expect(')');
if (n > 0 && *targs != ellipsistype)
errorp("too few arguments in function call");
- expect(')');
return node(OCALL, rettype, np, par);
}