summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors
Commit message (Collapse)AuthorAgeFilesLines
* Remove error test that does warnWilliam S Fulton2017-01-262-13/+0
|
* Suppress incorrect warning when a keyword is used in template classesWilliam S Fulton2016-12-202-0/+90
| | | | Closes https://github.com/swig/swig/issues/845
* Added support for type aliasLior Goldberg2016-06-221-3/+0
|
* Add comment about cpp_template_repeat testcaseWilliam S Fulton2016-06-011-1/+1
|
* Removing empty errors tests - template typename missingWilliam S Fulton2016-06-012-8/+0
| | | | | | The missing typename was not warning, but this is too hard to provide error/warning messages given SWIG supports missing type information.
* Removing empty error tests - this one seems to be valid C preprocessor codeWilliam S Fulton2016-06-012-7/+0
|
* Removing empty errors tests - tests that are valid C/C++ codeWilliam S Fulton2016-06-016-25/+0
|
* Removing empty error tests - c_default_errorWilliam S Fulton2016-06-012-4/+0
| | | | | C default arguments are allowed, so migrated the error test to a proper test, as no error or warning is expected.
* Don't issue unnecessary base class ignored messageWilliam S Fulton2016-05-022-0/+22
| | | | | | | Don't warn about base class being ignored when the derived class is itself ignored. Closes #669
* Move subdirectory .gitignore to top levelWilliam S Fulton2016-02-211-4/+0
|
* Consistent quoting in MakefileWilliam S Fulton2015-08-211-1/+1
|
* More remove SWIG_LIB variableWilliam S Fulton2015-08-211-2/+5
|
* Cosmetic corrections - Mac OS XWilliam S Fulton2015-08-021-1/+1
|
* Improve python code indentation warning / error messagesdocstring-indentationWilliam S Fulton2015-07-304-2/+10
|
* Improve handling of whitespace in %pythoncodeOlly Betts2015-06-294-0/+22
| | | | | | | | Previously SWIG looked at the indentation of the first line and removed that many characters from each subsequent line, regardless of what those characters were. This was made worse because SWIG's preprocessor removes any whitespace before a '#'. Fixes github issue #379, reported by Joe Orton.
* Fix warning display of types associated with 'using' and templates.William S Fulton2015-06-092-0/+16
|
* Suppress warning 325 "Nested class not currently supported (FooOlly Betts2015-05-051-1/+6
| | | | | ignored)" when Foo has already been explicitly ignored with "%ignore".
* Add support for friend templates, including operator overloading.William S Fulton2015-05-052-0/+34
| | | | Closes #196.
* Adjust testcase for unknown directive errorOlly Betts2015-04-301-1/+1
| | | | Fixes testcase failure caused by fix for issue #394.
* Add regression test for 6b6b360Olly Betts2015-03-282-1/+6
| | | | Reported in issue#368 by clintonstimpson.
* Add suggestion to check block delimiterOlly Betts2015-01-141-1/+1
| | | | | | | | | | The fix for #217 means that blocks of target code delimited by { } with '#' comments in now give errors (previously these lines were quietly discarded). The fix is generally to use %{ %} delimiters instead, so suggest this might be the issue in the error message to help users hitting this issue with wrappers which were apparently working before.
* Add explanatory comment to pp_unknowndirective2.iOlly Betts2015-01-142-1/+3
|
* Add regression test for #217Olly Betts2015-01-122-0/+10
|
* Wording change for missing semicolon errorWilliam S Fulton2015-01-081-1/+1
|
* Improve errors for missing ; and unexpected )Olly Betts2015-01-082-2/+2
|
* Add test coverage for unterminated %{ ... %} blockOlly Betts2015-01-082-0/+6
|
* When reporting an error for a construct which hasn't been terminatedOlly Betts2015-01-088-6/+14
| | | | | | when the end of the file is reached, report it at the start line rather than "EOF" as then tools like editors and IDEs will take you to a generally more useful place for fixing the problem.
* Improve error message for extraneous '%}'.Olly Betts2015-01-081-1/+1
|
* Add .gitignore for Examples/test-suite/errors/Olly Betts2015-01-081-0/+4
|
* Fix testcase name in expected outputOlly Betts2015-01-081-1/+1
|
* Improve error message when an unknown SWIG directive is usedOlly Betts2015-01-082-0/+8
| | | | | This previously gave the cryptic "Error: Syntax error in input(1).", but now gives "Error: Unknown directive '%foo'."
* Update expected output for pp_constant error testOlly Betts2014-09-041-4/+4
|
* Disable case in pp_constant.i which never actually workedOlly Betts2014-09-031-1/+3
|
* Fix errors test-suite on windowsWilliam S Fulton2014-05-291-11/+10
|
* Set SRCDIR when calling test-suite clean targets, in case it's neededKarl Wette2014-05-291-1/+1
|
* Neaten up test-suite Makefile regenerationWilliam S Fulton2014-05-151-5/+2
|
* Slight simplification of test-suite build for new out-of-source changesWilliam S Fulton2014-05-151-5/+0
| | | | | Provide default SRCDIR and SCRIPTDIR variables in common.mk and override only where needed.
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-5/+14
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* Regenerate configured Makefile if Makefile.in or config.status have changedKarl Wette2014-05-111-0/+3
|
* Whitespace cleanup of all Makefiles*Karl Wette2014-05-021-4/+3
| | | | | - some of the %.clean rules in the test-suite Makefiles were using a single tab as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
* Fix seg fault with extra ) brackets and >>William S Fulton2014-04-082-0/+10
|
* Fix segfault when there are too many closing round brackets in parsed codeWilliam S Fulton2014-04-052-0/+7
|
* Fix errors test-suite on Mac OSXWilliam S Fulton2014-03-161-1/+2
|
* Portability fixes for errors test-suiteWilliam S Fulton2014-03-151-5/+7
|
* Fix missing fragment name in warning message about missing fragmentWilliam S Fulton2014-02-222-0/+5
|
* Errors tests more visibly show failures as the output of diffWilliam S Fulton2014-02-161-2/+2
| | | | | diff -u would be better, but it is not posix, so diff -e is chosen as second best choice.
* error order foxedVladimir Kalinin2014-02-051-1/+1
|
* WARN_PARSE_UNNAMED_NESTED_CLASS check fixedVladimir Kalinin2014-02-031-0/+1
|
* Errors test-suite overhaulWilliam S Fulton2014-01-1986-514/+272
| | | | | | Use makefiles instead of a make.sh script Expected results are in individual .stderr files instead of the expected.log file Add errors test-suite to Travis testing and 'make check'
* Update errors expected resultsWilliam S Fulton2014-01-161-0/+1
|