#include <stdlib.h>
-#undef DEBUGGING
-/*#define DEBUGGING 1*/
#include "debug-print.h"
static void parse_script (void) __attribute__ ((noreturn));
/* Execution. */
parse_script ();
+
+ /* Should never be reached */
+ return (-1);
}
/* Parses the entire script. */
handle_error (execute_command ());
}
- err_hcf (1);
+ err_hcf (err_error_count==0);
}
/* Parse and execute a command, returning its return code. */
break;
if (!getl_perform_delayed_reset ())
- err_hcf (1);
+ err_hcf (err_error_count==0);
}
/* Parse the command. */