mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
Merge pull request #469 from DavidHammen/convert_swig_struct_patch
Fixes #468
This commit is contained in:
commit
a40381f9e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user