Another merge with master.

Change Doxygen error codes to start at 740 instead of at 720 as the latter was
taken by Scilab in the meanwhile.

Resolve conflicts in autodoc_runme.py once again.
This commit is contained in:
Vadim Zeitlin 2015-02-16 23:46:39 +01:00
commit 300ccce46c
419 changed files with 18675 additions and 1315 deletions

4
Examples/test-suite/errors/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.newerr
cpp_recursive_typedef.py
cpp_shared_ptr.py
xxx.py

View file

@ -1 +1 @@
c_extra_rblock.i:5: Error: Syntax error in input(1).
c_extra_rblock.i:5: Error: Syntax error. Extraneous '%}'

View file

@ -1 +1 @@
c_missing_semi.i:3: Error: Syntax error in input(1).
c_missing_semi.i:3: Error: Syntax error - possibly a missing semicolon.

View file

@ -1 +1 @@
cpp_extra_brackets.i:5: Error: Syntax error in input(3).
cpp_extra_brackets.i:5: Error: Unexpected ')'.

View file

@ -1 +1 @@
doxygen_unknown_command.i:4: Warning 720: Doxygen parser warning: unknown command "unknown".
doxygen_unknown_command.i:4: Warning 740: Doxygen parser warning: unknown command "unknown".

View file

@ -1 +1 @@
pp_missing_enddef.i:EOF: Error: Missing %enddef for macro starting on line 3
pp_missing_enddef.i:3: Error: Missing %enddef for macro starting here

View file

@ -1 +1 @@
pp_missing_endif.i:EOF: Error: Missing #endif for conditional starting on line 3
pp_missing_endif.i:3: Error: Missing #endif for conditional starting here

View file

@ -0,0 +1,7 @@
%module xxx
/* %beginfile and %endoffile are internal directives inserted when %include is
* used. Users should never use them directly, but test coverage for this
* error message still seems useful to have.
*/
%includefile "dummy.i" %beginfile

View file

@ -0,0 +1 @@
pp_missing_endoffile.i:6: Error: Missing %endoffile for file inclusion block starting here

View file

@ -1 +1 @@
pp_missing_rblock.i:EOF: Error: Unterminated %{ ... %} block starting on line 3
pp_missing_rblock.i:3: Error: Unterminated %{ ... %} block

View file

@ -0,0 +1,7 @@
%module xxx
/* This used to give the rather cryptic "Syntax error in input(1)." prior to
* SWIG 3.0.4. This testcase checks that the improved message is actually
* issued.
*/
%remane("typo") tyop;

View file

@ -0,0 +1 @@
pp_unknowndirective.i:7: Error: Unknown directive '%remane'.

View file

@ -0,0 +1,11 @@
%module xxx
#ifdef FOO
long long i;
/* Check we get an error for an unknown directive (this should be #elif).
* Unknown directives were silently ignored by SWIG < 3.0.3. */
#elsif defined(BAR)
long i;
#else
int i;
#endif

View file

@ -0,0 +1 @@
pp_unknowndirective2.i:7: Error: Unknown SWIG preprocessor directive: elsif (if this is a block of target language code, delimit it with %{ and %})

View file

@ -1 +1 @@
pp_unterm_char.i:EOF: Error: Unterminated character constant starting at line 4
pp_unterm_char.i:4: Error: Unterminated character constant

View file

@ -1 +1 @@
pp_unterm_comment.i:EOF: Error: Unterminated comment starting on line 3
pp_unterm_comment.i:3: Error: Unterminated comment

View file

@ -1 +1 @@
pp_unterm_string.i:EOF: Error: Unterminated string constant starting at line 4
pp_unterm_string.i:4: Error: Unterminated string constant

View file

@ -0,0 +1,5 @@
%module xxx
%{
int foo(int x);

View file

@ -0,0 +1 @@
pp_unterminated_block.i:3: Error: Unterminated %{ ... %} block