aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-22 14:30:27 +1000
committerDavid Walter Seikel2012-01-22 14:30:27 +1000
commit3a59c50f00b99560bf9d6683a534051006022cec (patch)
tree7c9b314723b8640ba2e6e6c0267c6f9d7aefb6c2 /LuaSL
parentFound a use for that after all. lol (diff)
downloadSledjHamr-3a59c50f00b99560bf9d6683a534051006022cec.zip
SledjHamr-3a59c50f00b99560bf9d6683a534051006022cec.tar.gz
SledjHamr-3a59c50f00b99560bf9d6683a534051006022cec.tar.bz2
SledjHamr-3a59c50f00b99560bf9d6683a534051006022cec.tar.xz
Disable the diff itself, until I think I'm ready for it.
Diffstat (limited to 'LuaSL')
-rw-r--r--LuaSL/src/LuaSL_compile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index 9e4d4c1..d78a5bc 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -1204,17 +1204,17 @@ static boolean doneParsing(LuaSL_compiler *compiler)
1204 if (out) 1204 if (out)
1205 { 1205 {
1206#ifdef LUASL_DIFF_CHECK 1206#ifdef LUASL_DIFF_CHECK
1207 int count; 1207// int count;
1208#endif 1208#endif
1209 outputLeaf(out, OM_LSL, compiler->ast); 1209 outputLeaf(out, OM_LSL, compiler->ast);
1210 fclose(out); 1210 fclose(out);
1211 sprintf(buffer, "diff \"%s\" \"%s\" > \"%s\"", compiler->fileName, outName, diffName); 1211 sprintf(buffer, "diff \"%s\" \"%s\" > \"%s\"", compiler->fileName, outName, diffName);
1212#ifdef LUASL_DIFF_CHECK 1212#ifdef LUASL_DIFF_CHECK
1213 count = system(buffer); 1213// count = system(buffer);
1214 if (0 != count) 1214// if (0 != count)
1215 PE("LSL output file is different - %s!", outName); 1215// PE("LSL output file is different - %s!", outName);
1216 else 1216// else
1217 result = TRUE; 1217// result = TRUE;
1218#endif 1218#endif
1219 } 1219 }
1220 else 1220 else