mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 20:10:25 +00:00
Added compiler context.
This commit is contained in:
@@ -101,7 +101,8 @@ func compile(path string) {
|
||||
}
|
||||
|
||||
token := asl.Tokenize(code)
|
||||
sqf := asl.Parse(token, pretty)
|
||||
compiler := asl.Compiler{}
|
||||
sqf := compiler.Parse(token, pretty)
|
||||
|
||||
os.MkdirAll(filepath.FromSlash(path+PathSeparator+aslFiles[i].out), 0777)
|
||||
err = ioutil.WriteFile(out, []byte(sqf), 0666)
|
||||
|
||||
Reference in New Issue
Block a user