aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.c9
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);