mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 03:50:25 +00:00
More testing, fixed for, added array parsing, switch is buggy.
This commit is contained in:
10
test/tokenizer_switch.asl
Normal file
10
test/tokenizer_switch.asl
Normal file
@@ -0,0 +1,10 @@
|
||||
switch x {
|
||||
case 1:
|
||||
x = 1;
|
||||
break;
|
||||
case 2:
|
||||
x = 2;
|
||||
break;
|
||||
default:
|
||||
x = 3;
|
||||
}
|
||||
@@ -7,3 +7,4 @@ comment
|
||||
*/
|
||||
|
||||
var x = 1;
|
||||
var array = [1, 2, 3];
|
||||
|
||||
Reference in New Issue
Block a user