Commit 7085b873 by Richard Stallman

(main): Recover correctly from invalid -Wid-clash option.

From-SVN: r2349
parent 173c6344
...@@ -3021,10 +3021,14 @@ main (argc, argv, envp) ...@@ -3021,10 +3021,14 @@ main (argc, argv, envp)
if (*endp >= '0' && *endp <= '9') if (*endp >= '0' && *endp <= '9')
endp++; endp++;
else else
error ("Invalid option `%s'", argv[i]); {
error ("Invalid option `%s'", argv[i]);
goto id_clash_lose;
}
} }
warn_id_clash = 1; warn_id_clash = 1;
id_clash_len = atoi (str + 10); id_clash_len = atoi (str + 10);
id_clash_lose: ;
} }
else else
error ("Invalid option `%s'", argv[i]); error ("Invalid option `%s'", argv[i]);
......
Markdown is supported
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