added more test cases and broken ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
88a08fdfc8
commit
20debc4ed8
12 changed files with 218 additions and 4 deletions
21
Examples/test-suite/nested_comment.i
Normal file
21
Examples/test-suite/nested_comment.i
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
%module nested_comment
|
||||
|
||||
// this example shows a problem with 'dump_nested' (parser.y).
|
||||
|
||||
%inline %{
|
||||
typedef struct s1 {
|
||||
union {
|
||||
int fsc; /* genie structure hiding - Conductor
|
||||
*/
|
||||
int fso; /* genie structure hiding - FSOptions
|
||||
*/
|
||||
struct {
|
||||
double *vals;
|
||||
int size;
|
||||
} vector_val; /* matrix values are mainly used
|
||||
in rlgc models */
|
||||
char *name;
|
||||
} n ;
|
||||
} s2;
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue