Fixed the parse bug. I think it's legal for the post-shift table check to be invalid and you have to account for that in the table
This commit is contained in:
@@ -9,11 +9,11 @@ import tree:*
|
||||
import serialize:*
|
||||
|
||||
fun main():int {
|
||||
|
||||
|
||||
var a.construct(): grammer
|
||||
|
||||
/*var file_name = string("../krakenGrammer.kgm")*/
|
||||
var file_name = string("../simplifiedKrakenGrammer.kgm")
|
||||
var file_name = string("../krakenGrammer.kgm")
|
||||
/*var file_name = string("../simplifiedKrakenGrammer.kgm")*/
|
||||
/*var file_name = string("grammer.kgm")*/
|
||||
|
||||
var compiled_name = file_name + string(".comp_new")
|
||||
|
||||
5
tests/to_import.krak
Normal file
5
tests/to_import.krak
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
var a = 1
|
||||
|
||||
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
why {}
|
||||
import to_import
|
||||
|
||||
fun main(): int {
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user