From 07d92a6095e5912dbcffbe2f7acddaf3493b8d53 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 27 Nov 2005 02:57:26 +0000 Subject: [PATCH] minor speed up git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7886 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/CParse/parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/Source/CParse/parser.y b/SWIG/Source/CParse/parser.y index 12c5ade36..512ab7e37 100644 --- a/SWIG/Source/CParse/parser.y +++ b/SWIG/Source/CParse/parser.y @@ -3489,11 +3489,11 @@ cpp_template_decl : TEMPLATE LESSTHAN template_parms GREATERTHAN { template_para while (p) { String *n = Getattr(p,"name"); if (!n) n = Getattr(p,"type"); - Printf(fname,"%s", n); + Append(fname,n); p = nextSibling(p); if (p) Putc(',',fname); } - Printf(fname,")>"); + Append(fname,")>"); Swig_symbol_cadd(fname,$$); } }