From 67fc66d06635c2cb024e3570a4af178dbed86598 Mon Sep 17 00:00:00 2001 From: Pherring04 Date: Thu, 11 Jul 2024 14:34:13 -0500 Subject: [PATCH] Added support for templates with array parameters --- libexec/trick/convert_swig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/trick/convert_swig b/libexec/trick/convert_swig index ca58cad6..e53f0618 100755 --- a/libexec/trick/convert_swig +++ b/libexec/trick/convert_swig @@ -97,7 +97,7 @@ my $template_def = qr/template\s* # keyword template \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 + <[\w\s\*,:<>\[\]]*>\s* # template parameters [_A-Za-z]\w*\s*(?:[{=].*?)?; # var name ; /sx ;