Function parsing, some fixes to parser.

This commit is contained in:
Marvin Blum
2015-09-21 15:26:05 +02:00
parent 9754def486
commit 7e6f66acd6
7 changed files with 150 additions and 55 deletions

View File

@@ -1,9 +1,17 @@
var _a = 1;
var _b = 2;
func somefunc(_x, _y, _z) {
if _x < _y {
hint(_z);
}
}
if _a < _b {
var _x = 5;
somefunc(1, "two", 3);
}
else{
var _x = 6;
_a = 3;
}
hint("this is a hint");