From 7f99a9c25c82a78538ab88899dfdc5840d3dc763 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Tue, 16 May 2023 12:43:10 +0200 Subject: [PATCH] Fix mistake, move value tables --- lua_translate | 6 +++--- src/engine/{FUNCTIONS.toml => values/functions.toml} | 0 src/engine/{STATICS.toml => values/statics.toml} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/engine/{FUNCTIONS.toml => values/functions.toml} (100%) rename src/engine/{STATICS.toml => values/statics.toml} (100%) diff --git a/lua_translate b/lua_translate index 1f66a51..c9353cc 100755 --- a/lua_translate +++ b/lua_translate @@ -20,9 +20,9 @@ functionBlacklist = [ "engine_malloc" ] -statics = toml.loads(open("modules/engine/STATICS.toml").read()) -functions = toml.loads(open("modules/engine/FUNCTIONS.toml").read()) -ofile = open("modules/engine/lua.c","w") +statics = toml.loads(open("src/engine/values/statics.toml").read()) +functions = toml.loads(open("src/engine/values/functions.toml").read()) +ofile = open("src/engine/lua.c","w") ofile.write('''\ #include diff --git a/src/engine/FUNCTIONS.toml b/src/engine/values/functions.toml similarity index 100% rename from src/engine/FUNCTIONS.toml rename to src/engine/values/functions.toml diff --git a/src/engine/STATICS.toml b/src/engine/values/statics.toml similarity index 100% rename from src/engine/STATICS.toml rename to src/engine/values/statics.toml