diff --git a/README.md b/README.md index 380172e..87cba93 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Symbiotic-Lua is a template for hybrid development between C and Lua, being very useful for hybrid teams, or to facilitate the creation of programs. It generates a native Windows/Linux binary, without the need to install Lua, so it can be used to build desktop apps, or run in environments that cannot install Lua. ## Install -For instalation just download the [src folder](https://github.com/OUIsolutions/Symbiotic-Lua/archive/refs/tags/v0.04.zip) into your project +For instalation just download the [src folder](https://github.com/OUIsolutions/Symbiotic-Lua/archive/refs/tags/v0.05.zip) into your project than type to get into the folder (these its important): ```shel diff --git a/src/build/main.c b/src/build/main.c index 5396fce..6a51d42 100644 --- a/src/build/main.c +++ b/src/build/main.c @@ -68,6 +68,7 @@ int create_lua_code(){ if(strcmp(full_name,"main.lua")==0){ main_code = (char*)current_file->content; + continue; } parse_code(final,(char*)current_file->content); parse_code(final,"\n"); @@ -77,6 +78,8 @@ int create_lua_code(){ UniversalGarbage_free(garbage); return 1; } + parse_code(final,main_code); + parse_code(final,"\n"); stack.format(final,"\";"); dtw.write_string_file_content(OUTPUT,final->rendered_text);