aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-08-09 20:10:42 +1000
committerDavid Walter Seikel2014-08-09 20:10:42 +1000
commite46f6aa3cf91b08c9d0faebd46a7a506bd138e9e (patch)
tree73fa92394415355692cef196fdeaa309bca0f49f /src
parentInit lType and rType, was getting bogus values. (diff)
downloadSledjHamr-e46f6aa3cf91b08c9d0faebd46a7a506bd138e9e.zip
SledjHamr-e46f6aa3cf91b08c9d0faebd46a7a506bd138e9e.tar.gz
SledjHamr-e46f6aa3cf91b08c9d0faebd46a7a506bd138e9e.tar.bz2
SledjHamr-e46f6aa3cf91b08c9d0faebd46a7a506bd138e9e.tar.xz
Move "Compiling ..." message to the compiler.
Diffstat (limited to 'src')
-rw-r--r--src/LuaSL/LuaSL_compile.c2
-rw-r--r--src/LuaSL/LuaSL_main.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c
index 94b354b..94d7f9b 100644
--- a/src/LuaSL/LuaSL_compile.c
+++ b/src/LuaSL/LuaSL_compile.c
@@ -2238,6 +2238,8 @@ boolean compileLSL(LuaSL_compiler *compiler)
2238 compiler->ignorable = eina_strbuf_new(); 2238 compiler->ignorable = eina_strbuf_new();
2239#endif 2239#endif
2240 2240
2241 PI("Compiling %s.", compiler->compiler.file);
2242
2241 compiler->file = fopen(compiler->compiler.file, "r"); 2243 compiler->file = fopen(compiler->compiler.file, "r");
2242 if (NULL == compiler->file) 2244 if (NULL == compiler->file)
2243 { 2245 {
diff --git a/src/LuaSL/LuaSL_main.c b/src/LuaSL/LuaSL_main.c
index 0378792..2955ca4 100644
--- a/src/LuaSL/LuaSL_main.c
+++ b/src/LuaSL/LuaSL_main.c
@@ -236,7 +236,6 @@ static Eina_Bool _data(void *data, int type __UNUSED__, Ecore_Con_Event_Client_D
236 temp[0] = '\0'; 236 temp[0] = '\0';
237 237
238 name = &file[strlen(prefix_data_get())]; 238 name = &file[strlen(prefix_data_get())];
239 PD("Compiling %s, %s.", SID, name);
240 compiler->compiler.file = strdup(file); 239 compiler->compiler.file = strdup(file);
241 compiler->compiler.SID = strdup(SID); 240 compiler->compiler.SID = strdup(SID);
242 compiler->compiler.client = ev->client; 241 compiler->compiler.client = ev->client;