On 06/04/2013 08:34 PM, Paolo Carlini wrote:
        /* After seeing a decl-specifier-seq, if the next token is not a
-     "(", there is no possibility that the code is a valid
+     "(" nor '...', there is no possibility that the code is a valid
       expression.  Therefore, if parsing tentatively, we commit at
       this point.  */

clearly in the case at issue of decl-specifier-seq followed by ellipsis
we may be parsing a perfectly valid declaration.

Yes, but not an expression, which is why we are committing there: we know it *has* to be a declaration. The non-variadic case should hit that commit, so your change doesn't seem to make the variadic case more consistent.

Jason

Reply via email to