Added support for templated methods in InoToCPPConverter (#858)

* Added support for templated methods in InoToCPPConverter
This commit is contained in:
Xose Pérez authored and Ivan Kravets committed 2016-12-22 02:15:01 +02:00
1 parent 7f38c85738
commit 1a4c5df14d
3 files changed
+7 -3

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ from platformio import util
class InoToCPPConverter(object):
PROTOTYPE_RE = re.compile(r"""^(
(?:template\<.*\>\s*)? # template
([a-z_\d]+\*?\s+){1,2} # return type
([a-z_\d]+\s*) # name of prototype
\([a-z_,\.\*\&\[\]\s\d]*\) # arguments