From 71bb84f3f27dd28dd873cb72e7a50e52e0d912fa Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Fri, 7 Apr 2023 22:58:08 +0300 Subject: [PATCH] InoToCpp: add ':' to arguments regexp (#4586) InoToCpp: allow ':' in arguments --- platformio/builder/tools/pioino.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/builder/tools/pioino.py b/platformio/builder/tools/pioino.py index c44e72b7..92e76ac1 100644 --- a/platformio/builder/tools/pioino.py +++ b/platformio/builder/tools/pioino.py @@ -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,