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:
Olly Betts 2015-01-08 12:07:54 +13:00
commit 04715f74e2
6 changed files with 29 additions and 2 deletions

View file

@ -5,6 +5,11 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 3.0.4 (in progress)
===========================
2015-01-08: olly
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'."
2015-01-08: olly
Provide -cppext as a general command line option for setting the
extension used for generated C++ files (previously it was specific