From 8a42a9adcd638610567e9b6cccfd53891bc11dd4 Mon Sep 17 00:00:00 2001 From: David Hammen Date: Wed, 9 Aug 2017 09:14:35 -0500 Subject: [PATCH] Fixes #468 --- libexec/trick/convert_swig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/trick/convert_swig b/libexec/trick/convert_swig index d2532fbf..60884d70 100755 --- a/libexec/trick/convert_swig +++ b/libexec/trick/convert_swig @@ -90,7 +90,8 @@ my $class_def = qr/(?:class|struct)\s* # keyword class or st /sx ; my $template_def = qr/template\s* # keyword template <[^>]+>\s* # template parameters - class\s*[_A-Za-z]\w*\s* # keyword class and class name + (class|struct) # keyword class or struct + \s+[_A-Za-z]\w*\s* # class name /sx ; my $template_var_def = qr/(?:\:\:)?[_A-Za-z][:\w]*\s* # template name <[\w\s\*,:<>]*>\s* # template parameters