forked from platformio/platformio-core
Revert "InoToCpp: add ':' to arguments regexp (#4586)"
This reverts commit 71bb84f3f2.
This commit is contained in:
1 parent
ab15da4f4b
commit
f2d1df5ded
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class InoToCPPConverter:
|
||||
(?:template\<.*\>\s*)? # template
|
||||
([a-z_\d\&]+\*?\s+){1,2} # return type
|
||||
([a-z_\d]+\s*) # name of prototype
|
||||
\([a-z_:,\.\*\&\[\]\s\d]*\) # arguments
|
||||
\([a-z_,\.\*\&\[\]\s\d]*\) # arguments
|
||||
)\s*(\{|;) # must end with `{` or `;`
|
||||
""",
|
||||
re.X | re.M | re.I,
|
||||
|
||||
Reference in new issue
Block a user