title: Why is an extra comma not allowed in a parameter list when it is allowed in a brace initialization?
body: <p>Following up on an old question of mine (<a href="https://stackoverflow.com/questions/24156241/is-there-any-relevance-to-an-extra-in-the-end-of-a-brace-initialization">Is there any relevance to an extra &quot;,&quot; in the end of a brace initialization?</a>)</p>
  
  <p>Are there any technical reasons why the parameter list in function declarations and function calls has not been made code-generation-friendly like the brace initialization?</p>
  
  <p>What I mean is:</p>
  
  <p>This is ok, the extra <code>,</code> is ignored:</p>
  
  <pre><code>int generated_array[] = {
    1,
    2,
    3,
  };
  </code></pre>
  
  <p>For consistency, wouldn't it also make sense to allow this?</p>
  
  <pre><code>int someFunc(
    int v1,
    int v2,
    int v3,
  ){...}
  
  int ret_val = someFunc(
    1,
    2,
    3,
  );
  </code></pre>
  
  <p>I cannot see how it would make compilation more complicated, but perhaps there is something I'm not thinking of. I would guess it would actually simplify it slightly.</p>
  
  <p>Of course one can argue that it's not as useful as the brace initialization, but there should be cases where code generation would be made at least a tiny bit simpler if this was allowed.</p>