Fix issue with pointer (char* myfunc()) while converting from *.ino to *.cpp // Resolve #506

This commit is contained in:
Ivan Kravets
2016-02-11 00:43:52 +02:00
parent 3484c41b64
commit 851f7db825
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class InoToCPPConverter(object):
PROTOTYPE_RE = re.compile(
r"""^(
(\s*[a-z_\d]+){1,2} # return type
(\s*[a-z_\d]+\*?){1,2} # return type
(\s+[a-z_\d]+\s*) # name of prototype
\([a-z_,\.\*\&\[\]\s\d]*\) # arguments
)\s*\{ # must end with {