diff options
author | Paweł Tomulik <ptomulik@meil.pw.edu.pl> | 2013-01-04 18:24:57 +0100 |
---|---|---|
committer | Paweł Tomulik <ptomulik@meil.pw.edu.pl> | 2013-01-04 18:24:57 +0100 |
commit | 02246d7294fb7d20f5b42e3cbec9719f3d918039 (patch) | |
tree | 7991956e15e4946460d976dc0a96e8ca80c2ca1c /Source | |
parent | 2bb6a8c4a82670a590d45ba0555ac073100459e4 (diff) | |
download | swig-02246d7294fb7d20f5b42e3cbec9719f3d918039.tar.gz |
applied patch for SF bug #1296
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CParse/parser.y | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index 0d7c65f85..e4f3d67b2 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -4472,17 +4472,7 @@ cpp_destructor_decl : NOT idtemplate LPAREN parms RPAREN cpp_end { | VIRTUAL NOT idtemplate LPAREN parms RPAREN cpp_vend { String *name; - char *c = 0; $$ = new_node("destructor"); - /* Check for template names. If the class is a template - and the constructor is missing the template part, we - add it */ - if (Classprefix) { - c = strchr(Char(Classprefix),'<'); - if (c && !Strchr($3,'<')) { - $3 = NewStringf("%s%s",$3,c); - } - } Setattr($$,"storage","virtual"); name = NewStringf("%s",$3); if (*(Char(name)) != '~') Insert(name,0,"~"); |