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:
commit
300ccce46c
419 changed files with 18675 additions and 1315 deletions
4
Examples/test-suite/errors/.gitignore
vendored
Normal file
4
Examples/test-suite/errors/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
*.newerr
|
||||
cpp_recursive_typedef.py
|
||||
cpp_shared_ptr.py
|
||||
xxx.py
|
||||
|
|
@ -1 +1 @@
|
|||
c_extra_rblock.i:5: Error: Syntax error in input(1).
|
||||
c_extra_rblock.i:5: Error: Syntax error. Extraneous '%}'
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
cpp_extra_brackets.i:5: Error: Syntax error in input(3).
|
||||
cpp_extra_brackets.i:5: Error: Unexpected ')'.
|
||||
|
|
|
|||
|
|
@ -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".
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
7
Examples/test-suite/errors/pp_missing_endoffile.i
Normal file
7
Examples/test-suite/errors/pp_missing_endoffile.i
Normal 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
|
||||
|
||||
1
Examples/test-suite/errors/pp_missing_endoffile.stderr
Normal file
1
Examples/test-suite/errors/pp_missing_endoffile.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
pp_missing_endoffile.i:6: Error: Missing %endoffile for file inclusion block starting here
|
||||
|
|
@ -1 +1 @@
|
|||
pp_missing_rblock.i:EOF: Error: Unterminated %{ ... %} block starting on line 3
|
||||
pp_missing_rblock.i:3: Error: Unterminated %{ ... %} block
|
||||
|
|
|
|||
7
Examples/test-suite/errors/pp_unknowndirective.i
Normal file
7
Examples/test-suite/errors/pp_unknowndirective.i
Normal 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;
|
||||
1
Examples/test-suite/errors/pp_unknowndirective.stderr
Normal file
1
Examples/test-suite/errors/pp_unknowndirective.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
pp_unknowndirective.i:7: Error: Unknown directive '%remane'.
|
||||
11
Examples/test-suite/errors/pp_unknowndirective2.i
Normal file
11
Examples/test-suite/errors/pp_unknowndirective2.i
Normal 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
|
||||
1
Examples/test-suite/errors/pp_unknowndirective2.stderr
Normal file
1
Examples/test-suite/errors/pp_unknowndirective2.stderr
Normal 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 %})
|
||||
|
|
@ -1 +1 @@
|
|||
pp_unterm_char.i:EOF: Error: Unterminated character constant starting at line 4
|
||||
pp_unterm_char.i:4: Error: Unterminated character constant
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
pp_unterm_comment.i:EOF: Error: Unterminated comment starting on line 3
|
||||
pp_unterm_comment.i:3: Error: Unterminated comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
pp_unterm_string.i:EOF: Error: Unterminated string constant starting at line 4
|
||||
pp_unterm_string.i:4: Error: Unterminated string constant
|
||||
|
|
|
|||
5
Examples/test-suite/errors/pp_unterminated_block.i
Normal file
5
Examples/test-suite/errors/pp_unterminated_block.i
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%module xxx
|
||||
|
||||
%{
|
||||
int foo(int x);
|
||||
|
||||
1
Examples/test-suite/errors/pp_unterminated_block.stderr
Normal file
1
Examples/test-suite/errors/pp_unterminated_block.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
pp_unterminated_block.i:3: Error: Unterminated %{ ... %} block
|
||||
Loading…
Add table
Add a link
Reference in a new issue