diff options
author | David Walter Seikel | 2012-01-17 10:25:56 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-17 10:25:56 +1000 |
commit | 10de095191eef877c1d085cfdd7a7c587630bfb7 (patch) | |
tree | 7fcbca8eca6895e09756c17b8fa7c97d0fd49de3 /LuaSL | |
parent | Bit of clean up and commenting. (diff) | |
download | SledjHamr-10de095191eef877c1d085cfdd7a7c587630bfb7.zip SledjHamr-10de095191eef877c1d085cfdd7a7c587630bfb7.tar.gz SledjHamr-10de095191eef877c1d085cfdd7a7c587630bfb7.tar.bz2 SledjHamr-10de095191eef877c1d085cfdd7a7c587630bfb7.tar.xz |
Disable the file compare for now, got lots to add before it will work again.
Diffstat (limited to 'LuaSL')
-rw-r--r-- | LuaSL/src/LuaSL_LSL_tree.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.c b/LuaSL/src/LuaSL_LSL_tree.c index b1bbaa7..c593378 100644 --- a/LuaSL/src/LuaSL_LSL_tree.c +++ b/LuaSL/src/LuaSL_LSL_tree.c | |||
@@ -719,13 +719,14 @@ static void doneParsing(LuaSL_yyparseParam *param) | |||
719 | out = fopen(outName, "w"); | 719 | out = fopen(outName, "w"); |
720 | if (out) | 720 | if (out) |
721 | { | 721 | { |
722 | // int count; | ||
722 | outputLeaf(out, param->ast); | 723 | outputLeaf(out, param->ast); |
723 | fclose(out); | 724 | fclose(out); |
724 | sprintf(buffer, "diff %s %s", param->fileName, outName); | 725 | sprintf(buffer, "diff %s %s", param->fileName, outName); |
725 | count = system(buffer); | 726 | // count = system(buffer); |
726 | printf("Return value of %s is %d\n", buffer, count); | 727 | // printf("Return value of %s is %d\n", buffer, count); |
727 | if (0 != count) | 728 | // if (0 != count) |
728 | fprintf(stderr, "%s says they are different!\n", buffer); | 729 | // fprintf(stderr, "%s says they are different!\n", buffer); |
729 | } | 730 | } |
730 | else | 731 | else |
731 | fprintf(stderr, "Unable to open file %s for writing!\n", outName); | 732 | fprintf(stderr, "Unable to open file %s for writing!\n", outName); |