* device/include/string.h: applied Stas Sergeev's patch to make this
[fw/sdcc] / src / SDCCmain.c
index 92e084521b693b4b46525b261cad0a722107108e..9b720b27f667e2da84a5518f082cb7a1a875b839 100644 (file)
@@ -2156,7 +2156,8 @@ main (int argc, char **argv, char **envp)
 
       yyparse ();
 
-      pclose(yyin);
+      if (pclose(yyin))
+        fatalError = 1;
       deleteSetItem(&pipeSet, yyin);
 
       if (fatalError) {