Olly Betts
822b2355c0
Improve handling of whitespace in %pythoncode
...
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.
2015-06-29 22:12:38 +12:00
..
.gitignore
Add .gitignore for Examples/test-suite/errors/
2015-01-08 12:25:47 +13:00
c_bad_name.i
The great merge
2002-11-30 22:01:28 +00:00
c_bad_name.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_bad_native.i
The great merge
2002-11-30 22:01:28 +00:00
c_bad_native.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_class.i
The great merge
2002-11-30 22:01:28 +00:00
c_class.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_default_error.i
The great merge
2002-11-30 22:01:28 +00:00
c_default_error.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_deprecated.i
The great merge
2002-11-30 22:01:28 +00:00
c_deprecated.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_empty_char.i
The great merge
2002-11-30 22:01:28 +00:00
c_empty_char.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_enum_badvalue.i
The great merge
2002-11-30 22:01:28 +00:00
c_enum_badvalue.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_extra_rblock.i
The great merge
2002-11-30 22:01:28 +00:00
c_extra_rblock.stderr
Improve error message for extraneous '%}'.
2015-01-08 12:47:12 +13:00
c_extra_rbrace.i
The great merge
2002-11-30 22:01:28 +00:00
c_extra_rbrace.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_extra_unsigned.i
The great merge
2002-11-30 22:01:28 +00:00
c_extra_unsigned.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_insert_missing.i
The great merge
2002-11-30 22:01:28 +00:00
c_insert_missing.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_long_short.i
The great merge
2002-11-30 22:01:28 +00:00
c_long_short.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_missing_rbrace.i
The great merge
2002-11-30 22:01:28 +00:00
c_missing_rbrace.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_missing_semi.i
The great merge
2002-11-30 22:01:28 +00:00
c_missing_semi.stderr
Wording change for missing semicolon error
2015-01-08 23:37:52 +00:00
c_redefine.i
The great merge
2002-11-30 22:01:28 +00:00
c_redefine.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_varargs.i
The great merge
2002-11-30 22:01:28 +00:00
c_varargs.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
c_varargs_neg.i
The great merge
2002-11-30 22:01:28 +00:00
c_varargs_neg.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_bad_extern.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_bad_extern.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_extend_destructors.i
Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute.
2011-09-13 06:15:29 +00:00
cpp_extend_destructors.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_extend_redefine.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_extend_redefine.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_extend_undefined.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_extend_undefined.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_extra_brackets.i
Fix segfault when there are too many closing round brackets in parsed code
2014-04-05 00:18:30 +01:00
cpp_extra_brackets.stderr
Improve errors for missing ; and unexpected )
2015-01-08 15:27:57 +13:00
cpp_extra_brackets2.i
Fix seg fault with extra ) brackets and >>
2014-04-08 19:19:44 +01:00
cpp_extra_brackets2.stderr
Fix seg fault with extra ) brackets and >>
2014-04-08 19:19:44 +01:00
cpp_inherit.i
Add new warning if an empty template declaration is used on a base class, minor docs improvement for empty template declarations.
2012-09-14 22:25:35 +00:00
cpp_inherit.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_inline_namespace.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_inline_namespace.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_macro_locator.i
Suppress warning 325 "Nested class not currently supported (Foo
2015-05-05 18:07:49 +12:00
cpp_macro_locator.stderr
error order foxed
2014-02-05 02:30:48 +04:00
cpp_missing_rparenthesis.i
Fix garbage line number and empty file name reporting for some '}' or ')' error messages
2012-12-16 13:56:50 +00:00
cpp_missing_rparenthesis.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_missing_rtemplate.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_missing_rtemplate.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_namespace_alias.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_namespace_alias.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_namespace_aliasnot.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_namespace_aliasnot.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_namespace_aliasundef.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_namespace_aliasundef.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_nested_template.i
Error test-suite updated for nested changes
2013-12-19 18:23:28 +00:00
cpp_nested_template.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_no_access.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_no_access.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_no_return_type.i
Fix constructors in named typedef class declarations
2011-08-25 19:27:38 +00:00
cpp_no_return_type.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_nobase.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_nobase.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_overload.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_overload.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_overload_const.i
Fix partial overloading warning messages appearing
2011-03-11 22:36:59 +00:00
cpp_overload_const.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_private_defvalue.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_private_defvalue.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_private_inherit.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_private_inherit.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_recursive_typedef.i
SF #3127633 Fix infinite loop in recursive typedef resolution.
2011-02-05 01:09:40 +00:00
cpp_recursive_typedef.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_shared_ptr.i
New warning when the smartptr feature is missing in some classes in an inheritance chain. Errors test-suite now uses Python instead of Tcl as testing language
2011-01-17 21:12:35 +00:00
cpp_shared_ptr.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_template_argname.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_template_argname.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_template_friend.i
Add support for friend templates, including operator overloading.
2015-05-05 06:48:25 +01:00
cpp_template_friend.stderr
Add support for friend templates, including operator overloading.
2015-05-05 06:48:25 +01:00
cpp_template_nargs.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_template_nargs.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_template_not.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_template_not.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_template_partial.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_template_partial.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_template_repeat.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_template_repeat.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_template_undef.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_template_undef.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_using_not.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_using_not.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
cpp_using_type_aliasing.i
Fix warning display of types associated with 'using' and templates.
2015-06-09 07:59:49 +01:00
cpp_using_type_aliasing.stderr
Fix warning display of types associated with 'using' and templates.
2015-06-09 07:59:49 +01:00
cpp_using_undef.i
The great merge
2002-11-30 22:01:28 +00:00
cpp_using_undef.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
Makefile.in
Fix errors test-suite on windows
2014-05-29 11:47:38 +01:00
nomodule.i
The great merge
2002-11-30 22:01:28 +00:00
nomodule.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_badeval.i
The great merge
2002-11-30 22:01:28 +00:00
pp_badeval.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_constant.i
Disable case in pp_constant.i which never actually worked
2014-09-03 17:18:11 -03:00
pp_constant.stderr
Update expected output for pp_constant error test
2014-09-04 09:29:20 -03:00
pp_defined.i
The great merge
2002-11-30 22:01:28 +00:00
pp_defined.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_deprecated.i
Add some more preprocessor tests
2010-09-06 18:10:43 +00:00
pp_deprecated.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_illegal_argument.i
Add some more preprocessor tests
2010-09-06 18:10:43 +00:00
pp_illegal_argument.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_args.i
The great merge
2002-11-30 22:01:28 +00:00
pp_macro_args.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_badchar.i
The great merge
2002-11-30 22:01:28 +00:00
pp_macro_badchar.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_defined_unterminated.i
Fix line numbering for 'Unterminated call invoking macro' error
2010-09-06 17:30:18 +00:00
pp_macro_defined_unterminated.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_expansion.i
Add test for line number reporting for multiple macro expansions
2010-09-06 18:25:22 +00:00
pp_macro_expansion.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_expansion_multiline.i
Fix incorrect line number reporting in errors/warnings after parsing macro invocations with parameters given over more than one line.
2010-09-10 23:44:27 +00:00
pp_macro_expansion_multiline.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_inline_unterminated.i
Fix #2149523 - Incorrect line number reporting in errors after parsing macros. Remove extraneous extra line in preprocessed output which would sometimes lead to error/warning messages two lines after the end of the file
2010-09-10 06:08:45 +00:00
pp_macro_inline_unterminated.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_missing_expression.i
Preprocessing now errors out if extra tokens appear after #else and #end. Add preprocessor errors when preprocessor expressions are missing
2011-02-16 20:48:48 +00:00
pp_macro_missing_expression.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_nargs.i
The great merge
2002-11-30 22:01:28 +00:00
pp_macro_nargs.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_redef.i
The great merge
2002-11-30 22:01:28 +00:00
pp_macro_redef.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_rparen.i
The great merge
2002-11-30 22:01:28 +00:00
pp_macro_rparen.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_unexpected_tokens.i
Preprocessing now errors out if extra tokens appear after #else and #end. Add preprocessor errors when preprocessor expressions are missing
2011-02-16 20:48:48 +00:00
pp_macro_unexpected_tokens.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_macro_unterminated.i
The great merge
2002-11-30 22:01:28 +00:00
pp_macro_unterminated.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_misplaced_elif.i
The great merge
2002-11-30 22:01:28 +00:00
pp_misplaced_elif.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_misplaced_else.i
The great merge
2002-11-30 22:01:28 +00:00
pp_misplaced_else.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_missing_enddef.i
The great merge
2002-11-30 22:01:28 +00:00
pp_missing_enddef.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_missing_endif.i
The great merge
2002-11-30 22:01:28 +00:00
pp_missing_endif.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_missing_endoffile.i
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_missing_endoffile.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_missing_file.i
The great merge
2002-11-30 22:01:28 +00:00
pp_missing_file.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_missing_rblock.i
The great merge
2002-11-30 22:01:28 +00:00
pp_missing_rblock.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_pragma.i
Add some more preprocessor tests
2010-09-06 18:10:43 +00:00
pp_pragma.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
pp_unknowndirective.i
Add regression test for 6b6b360
2015-03-28 11:26:13 +13:00
pp_unknowndirective.stderr
Add regression test for 6b6b360
2015-03-28 11:26:13 +13:00
pp_unknowndirective2.i
Adjust testcase for unknown directive error
2015-04-30 15:27:12 +12:00
pp_unknowndirective2.stderr
Add suggestion to check block delimiter
2015-01-14 16:08:08 +13:00
pp_unterm_char.i
The great merge
2002-11-30 22:01:28 +00:00
pp_unterm_char.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_unterm_comment.i
The great merge
2002-11-30 22:01:28 +00:00
pp_unterm_comment.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_unterm_string.i
The great merge
2002-11-30 22:01:28 +00:00
pp_unterm_string.stderr
When reporting an error for a construct which hasn't been terminated
2015-01-08 13:19:17 +13:00
pp_unterminated_block.i
Add test coverage for unterminated %{ ... %} block
2015-01-08 13:26:39 +13:00
pp_unterminated_block.stderr
Add test coverage for unterminated %{ ... %} block
2015-01-08 13:26:39 +13:00
pp_variable_args.i
Add some more preprocessor tests
2010-09-06 18:10:43 +00:00
pp_variable_args.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_apply_nargs.i
The great merge
2002-11-30 22:01:28 +00:00
swig_apply_nargs.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_extend.i
Fix C code where a typedef name was used for constructor and destructor names in %extend. Deprecate use of typedef names for constructor and destructor names going forwards.
2013-02-18 22:40:42 +00:00
swig_extend.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_fragment_missing.i
Fix missing fragment name in warning message about missing fragment
2014-02-22 01:04:50 +00:00
swig_fragment_missing.stderr
Fix missing fragment name in warning message about missing fragment
2014-02-22 01:04:50 +00:00
swig_identifier.i
The great merge
2002-11-30 22:01:28 +00:00
swig_identifier.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_insert_bad.i
The great merge
2002-11-30 22:01:28 +00:00
swig_insert_bad.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_pythoncode_bad.i
Improve handling of whitespace in %pythoncode
2015-06-29 22:12:38 +12:00
swig_pythoncode_bad.stderr
Improve handling of whitespace in %pythoncode
2015-06-29 22:12:38 +12:00
swig_pythoncode_bad2.i
Improve handling of whitespace in %pythoncode
2015-06-29 22:12:38 +12:00
swig_pythoncode_bad2.stderr
Improve handling of whitespace in %pythoncode
2015-06-29 22:12:38 +12:00
swig_typemap_copy.i
The great merge
2002-11-30 22:01:28 +00:00
swig_typemap_copy.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_typemap_old.i
The great merge
2002-11-30 22:01:28 +00:00
swig_typemap_old.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00
swig_typemap_warn.i
Expand special variables in typemap warnings - rework implementation
2011-11-03 20:31:35 +00:00
swig_typemap_warn.stderr
Errors test-suite overhaul
2014-01-19 00:12:12 +00:00