mirror of https://github.com/swig/swig
Command encoder error message improvement
Show the actual command to help diagnose as the line number info is missing
This commit is contained in:
parent
4cb2b253d0
commit
dc11837c64
|
@ -1 +1 @@
|
||||||
SWIG:EOF: Error: Command encoder no longer supported - use regex encoder instead.
|
SWIG:EOF: Error: Command encoder no longer supported - use regex encoder instead, command:sed -e 's//([a-z]/)//U/1/' -e 's//(_/)/([a-z]/)//U/2/g' <<<x
|
||||||
|
|
|
@ -1033,7 +1033,7 @@ int Swig_scopename_check(const String *s) {
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
String *Swig_string_command(String *s) {
|
String *Swig_string_command(String *s) {
|
||||||
Swig_error("SWIG", Getline(s), "Command encoder no longer supported - use regex encoder instead.\n");
|
Swig_error("SWIG", Getline(s), "Command encoder no longer supported - use regex encoder instead, command:%s\n", s);
|
||||||
Exit(EXIT_FAILURE);
|
Exit(EXIT_FAILURE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue