Fixed bug where no parameter function calls were not typechecked and function/struct name collision. Improved regex library to where it can do straight-line regexs

This commit is contained in:
Nathan Braswell
2015-06-12 14:16:28 -04:00
parent d90cb4b6db
commit cd1b10a633
14 changed files with 139 additions and 62 deletions

View File

@@ -5,6 +5,8 @@ import sameNameTwo
var sameVar: int;
fun sameFun(): int { return 4; }
fun classTester(): int { return 10; }
obj classTester {
fun method(): int {
return 7
@@ -32,5 +34,7 @@ fun main(): int {
println(class2.method())
println(class3.method())
println(classTester())
return 0
}