Improve error message when an unknown SWIG directive is used
This previously gave the cryptic "Error: Syntax error in input(1).", but now gives "Error: Unknown directive '%foo'."
This commit is contained in:
parent
9ca6f78b07
commit
04715f74e2
6 changed files with 29 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ extern "C" {
|
|||
extern int cparse_cplusplus;
|
||||
extern int cparse_cplusplusout;
|
||||
extern int cparse_start_line;
|
||||
extern String *cparse_unknown_directive;
|
||||
|
||||
extern void Swig_cparse_cplusplus(int);
|
||||
extern void Swig_cparse_cplusplusout(int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue