Added support for templated methods in InoToCPPConverter (#858)

* Added support for templated methods in InoToCPPConverter
This commit is contained in:
Xose Pérez
2016-12-22 01:15:01 +01:00
committed by Ivan Kravets
parent 7f38c85738
commit 1a4c5df14d
3 changed files with 7 additions and 3 deletions
+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