aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-17 12:36:03 +1000
committerDavid Walter Seikel2012-01-17 12:36:03 +1000
commitd3541b3ac5f56ba399fd8bcd155b9e0120cf9916 (patch)
tree82d5bf84550aea4dbf33f0a63c8180b18fb005d3 /LuaSL/src/LuaSL_main.c
parentBetter error message. (diff)
downloadSledjHamr-d3541b3ac5f56ba399fd8bcd155b9e0120cf9916.zip
SledjHamr-d3541b3ac5f56ba399fd8bcd155b9e0120cf9916.tar.gz
SledjHamr-d3541b3ac5f56ba399fd8bcd155b9e0120cf9916.tar.bz2
SledjHamr-d3541b3ac5f56ba399fd8bcd155b9e0120cf9916.tar.xz
Merge the compiler into the test harness. Remove excess files.
Diffstat (limited to 'LuaSL/src/LuaSL_main.c')
-rw-r--r--LuaSL/src/LuaSL_main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index 9a6c256..fb2a8ba 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -160,13 +160,16 @@ main(int argc, char **argv)
160 ecore_evas_callback_delete_request_set(game.ee, _on_delete); 160 ecore_evas_callback_delete_request_set(game.ee, _on_delete);
161 edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); 161 edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game);
162 162
163 snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR); 163 // Setup for the compler.
164 compilerSetup();
165// snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR);
166 snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR);
164 if (compileLSL(&game, buf)) 167 if (compileLSL(&game, buf))
165 PIm("Against all odds, the compile of %s worked! lol", buf); 168 PIm("Against all odds, the compile of %s worked! lol", buf);
166 else 169 else
167 PEm("The compile of %s failed, as expected!", buf); 170 PEm("The compile of %s failed, as expected!", buf);
168 171
169 ecore_main_loop_begin(); 172// ecore_main_loop_begin();
170 173
171 ecore_animator_del(ani); 174 ecore_animator_del(ani);
172 ecore_evas_free(game.ee); 175 ecore_evas_free(game.ee);