From 71c66b917113150848522a4830e9af562be8f0d1 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 9 Aug 2014 17:19:08 +0300 Subject: [PATCH] Fix bug with auto-conversation from Arduino *.ino to *.cpp --- HISTORY.rst | 1 + platformio/builder/tools/platformio.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 83461028..6cb69ddd 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,6 +8,7 @@ Release History --------- * Fixed an issue ``ImportError: No module named platformio.util`` (`issue #9 `_) +* Fixed bug with auto-conversation from Arduino \*.ino to \*.cpp 0.5.0 (2014-08-04) ------------------ diff --git a/platformio/builder/tools/platformio.py b/platformio/builder/tools/platformio.py index 1f4d456e..103ca4b5 100644 --- a/platformio/builder/tools/platformio.py +++ b/platformio/builder/tools/platformio.py @@ -177,7 +177,7 @@ def ConvertInotoCpp(env): r"""^( (?:\s*[a-z_\d]+){1,2} # return type \s+[a-z_\d]+\s* # name of prototype - \([a-z_,\.\*\&\s\d]+\) # args + \([a-z_,\.\*\&\[\]\s\d]*\) # args )\s*\{ # must end with { """, re.X | re.M | re.I