Hey ppl.
I found a small bug in the code parser of the blitzmax compiler.
It concerns arrays.
This occurs in blitzmax 1.30 (svn threading build)
First off, this compiles without an error, eventhough the dot is there instead of a comma.
Secondly, it causes the parser to completely ignore the first array entry.
I found a small bug in the code parser of the blitzmax compiler.
It concerns arrays.
This occurs in blitzmax 1.30 (svn threading build)
SuperStrict Framework brl.basic Local arr:String[] = ["abc" . "def"]; '// notice the dot here ^ should be a comma. Print(arr[0]); '// prints 'def' instead of 'abc'. Print(arr[1]); '// should be 'def', but throws 'out of bounds' error
First off, this compiles without an error, eventhough the dot is there instead of a comma.
Secondly, it causes the parser to completely ignore the first array entry.