Accept comma-separated global variable declarations. #63

Open
cscott opened this Issue Jun 7, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@cscott

cscott commented Jun 7, 2013

The production for Global Variable Type Annotations in section 5.5 says:

A global program variable is initialized to a literal:
var x:Identifier = n:NumericLiteral;

but emscripten also generates the "var x:Identifier = n:NumericLiteral, y:Identifier = ... ;" form.

@ghost ghost added the bug label Aug 12, 2014

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Aug 12, 2014

Agreed, Odin accepts comma-separated.

ghost commented Aug 12, 2014

Agreed, Odin accepts comma-separated.

@ghost ghost changed the title from Emscripten and spec disagree about global program variable declarations. to Accept comma-separated global variable declarations. Aug 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment