fix fragments for Type* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ca3c4d97eb
commit
bd3acc66f7
1 changed files with 3 additions and 2 deletions
|
|
@ -1668,10 +1668,10 @@ except_directive : EXCEPT LPAREN ID RPAREN LBRACE {
|
|||
------------------------------------------------------------ */
|
||||
|
||||
/* fragment keyword arguments */
|
||||
stringtype : string LBRACE type RBRACE {
|
||||
stringtype : string LBRACE parm RBRACE {
|
||||
$$ = NewHash();
|
||||
Setattr($$,"value",$1);
|
||||
Setattr($$,"type",$3);
|
||||
Setattr($$,"type",Getattr($3,"type"));
|
||||
}
|
||||
;
|
||||
|
||||
|
|
@ -3353,6 +3353,7 @@ cpp_template_decl : TEMPLATE LESSTHAN template_parms GREATERTHAN { template_para
|
|||
String *fname = Swig_symbol_type_qualify(ty,0);
|
||||
Swig_symbol_cadd(fname,$$);
|
||||
Delete(ty);
|
||||
Delete(fname);
|
||||
}
|
||||
} else if ($$) {
|
||||
Setattr($$,"templatetype",nodeType($6));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue