diff options
author | David Walter Seikel | 2012-02-03 14:14:08 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-03 14:14:08 +1000 |
commit | 0e212a6804ffc40cd330904bebcd8333cad7fa3d (patch) | |
tree | 5b44acdf66dbc6da99ccee4c1700c768ac199c7a /LuaSL | |
parent | Implement Lua boolean operations. (diff) | |
download | SledjHamr-0e212a6804ffc40cd330904bebcd8333cad7fa3d.zip SledjHamr-0e212a6804ffc40cd330904bebcd8333cad7fa3d.tar.gz SledjHamr-0e212a6804ffc40cd330904bebcd8333cad7fa3d.tar.bz2 SledjHamr-0e212a6804ffc40cd330904bebcd8333cad7fa3d.tar.xz |
End the file with something useful.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 4cd671d..cf19c99 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c | |||
@@ -2230,6 +2230,7 @@ static boolean doneParsing(LuaSL_compiler *compiler) | |||
2230 | fprintf(out, "function stateChange(x) end;\n"); | 2230 | fprintf(out, "function stateChange(x) end;\n"); |
2231 | fprintf(out, "--// Generated code goes here.\n\n"); | 2231 | fprintf(out, "--// Generated code goes here.\n\n"); |
2232 | outputLeaf(out, OM_LUA, compiler->ast); | 2232 | outputLeaf(out, OM_LUA, compiler->ast); |
2233 | fprintf(out, "\n\n--// End of generated code.\n\n"); | ||
2233 | fclose(out); | 2234 | fclose(out); |
2234 | sprintf(buffer, "luac \"%s\"", luaName); | 2235 | sprintf(buffer, "luac \"%s\"", luaName); |
2235 | count = system(buffer); | 2236 | count = system(buffer); |