The unified diff between revisions [4029749b..] and [697c3a55..] is displayed below. It can also be downloaded as a raw diff.
# # old_revision [4029749b9ead646e788e96bfd20e494a8bf99f61] # new_revision [697c3a55915ad7eda83ba73798ce0c4b8b2544ba] # # patch "src/lsc/parser.y" # from [2e92a218e99f7522cbd4a48694ec2202d575e0d2] # to [9b444a45ad7c17497adb8a9b2982c004a418589f] # ============================================================ --- src/lsc/parser.y 2e92a218e99f7522cbd4a48694ec2202d575e0d2 +++ src/lsc/parser.y 9b444a45ad7c17497adb8a9b2982c004a418589f @@ -28,6 +28,8 @@ int main(int argc, char *argv[]) int main(int argc, char *argv[]) { + int rv; + argv++; /* skip over program name */ argc--; if (argc > 0) { @@ -60,10 +62,10 @@ int main(int argc, char *argv[]) err(1, "%s: Failed to open output file", "out.lc"); } - yyparse(); + rv = yyparse(); fclose(binout); fclose(yyin); - return 0; + return rv; } %}