Added file name + line number to symbols and use it for reasonable error handling now, added a version number to the compiled grammer
This commit is contained in:
13
tests/error_test.krak
Normal file
13
tests/error_test.krak
Normal file
@@ -0,0 +1,13 @@
|
||||
import mem:*
|
||||
import vector:*
|
||||
|
||||
|
||||
fun main():int {
|
||||
var a = null<vector<bad>>()
|
||||
/*doesnt_exist(2)*/
|
||||
/*var b: doesnt_exist*/
|
||||
return -1
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user