swig/Examples/test-suite/errors
Olly Betts ce90ff6a77 When reporting an error for a construct which hasn't been terminated
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.
2015-01-08 13:19:17 +13: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 Errors test-suite overhaul 2014-01-19 00:12:12 +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 Fix segfault when there are too many closing round brackets in parsed code 2014-04-05 00:18:30 +01: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 Move Swig_locator from scanner.c to cscanner.c. Fix file and line error/warning reporting fixes where SWIG macros are used within {} braces (where the preprocessor expands macros), for example macros within %inline {...} and %fragment(...) {...} and nested structs. Basically anything that results ina call to skip_balanced() in the parser/preprocessor. 2010-09-24 22:13:13 +00: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_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_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 Improve error message when an unknown SWIG directive is used 2015-01-08 12:07:54 +13:00
pp_unknowndirective.stderr Fix testcase name in expected output 2015-01-08 12:21:23 +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_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_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