Not a terribly high priority because this is groady syntax and I'm not sure I want to support it anyway, but documenting it here for the moment. Basically, this line can't work with the current compiler:
const float a=10.0, b=20.0, c=30.0;
The problem is hereish, wherein the compiler will use a regex to try to match a global variable declaration, and assumes that ";" or "=" ends the declaration.
Fixing this will probably mean that things will need to change so that the regex matches all the way to the semicolon, and that "=" can be terminated by "," or ";", and have different behavior depending on which.
The current system supports the following just fine though, so please use it instead for now:
Not a terribly high priority because this is groady syntax and I'm not sure I want to support it anyway, but documenting it here for the moment. Basically, this line can't work with the current compiler:
The problem is hereish, wherein the compiler will use a regex to try to match a global variable declaration, and assumes that ";" or "=" ends the declaration.
Fixing this will probably mean that things will need to change so that the regex matches all the way to the semicolon, and that "=" can be terminated by "," or ";", and have different behavior depending on which.
The current system supports the following just fine though, so please use it instead for now:
Also note that initializing multiple values works, so the following is totally fine: