collect fields from AsyncEmbeddedScript scriptFile
This commit is contained in:
@@ -60,6 +60,7 @@ class AsyncEmbeddedScript {
|
||||
classFields = classFields.concat(Kiss.build(dslFile, k));
|
||||
|
||||
scriptFile = Path.join([loadingDirectory, scriptFile]);
|
||||
k.fieldList = [];
|
||||
Reader.readAndProcess(Stream.fromFile(scriptFile), k, (nextExp) -> {
|
||||
var expr = Kiss.readerExpToHaxeExpr(nextExp, k);
|
||||
|
||||
@@ -73,6 +74,12 @@ class AsyncEmbeddedScript {
|
||||
return;
|
||||
});
|
||||
|
||||
for (command in commandList) {
|
||||
Sys.println(command.toString());
|
||||
}
|
||||
|
||||
classFields = classFields.concat(k.fieldList);
|
||||
|
||||
classFields.push({
|
||||
pos: PositionTools.make({
|
||||
min: 0,
|
||||
|
Reference in New Issue
Block a user