Commit a17cf868 authored by Ronny Wichers Schreur's avatar Ronny Wichers Schreur 🏢
Browse files

bail out if illegal command arguments are passed to the backend

parent 8239d226
#define DYNAMIC_TYPE 1
......@@ -2632,7 +2631,8 @@ BEArg (CleanString arg)
char *dummy;
extern Bool ParseCommandArgs (int argc, char **argv, char **file_name_p, char **output_file_name_p);
(void) ParseCommandArgs (gBEState.be_argc, gBEState.be_argv, &dummy, &dummy);
if (!ParseCommandArgs (gBEState.be_argc, gBEState.be_argv, &dummy, &dummy))
FatalCompError ("backend", "BEInit", "compilation aborted");
/* FatalCompError ("backend", "BEInit", "FatalCompError in backend"); */
/* ErrorInCompiler ("backend", "BEInit", "ErrorInCompiler in backend"); */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment