More testing, fixed for, added array parsing, switch is buggy.

This commit is contained in:
Marvin Blum
2015-10-15 18:54:38 +02:00
parent a8c6da2958
commit 7aa5691863
8 changed files with 73 additions and 13 deletions

10
test/tokenizer_switch.asl Normal file
View File

@@ -0,0 +1,10 @@
switch x {
case 1:
x = 1;
break;
case 2:
x = 2;
break;
default:
x = 3;
}

View File

@@ -7,3 +7,4 @@ comment
*/
var x = 1;
var array = [1, 2, 3];