mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix issue with pointer (char* myfunc()) while converting from *.ino to *.cpp // Resolve #506
This commit is contained in:
@ -23,6 +23,9 @@ PlatformIO 2.0
|
|||||||
(`IDE issue #34 <https://github.com/platformio/platformio-atom-ide/issues/34>`_)
|
(`IDE issue #34 <https://github.com/platformio/platformio-atom-ide/issues/34>`_)
|
||||||
* Fixed unable to link C++ standard library to Espressif platform build
|
* Fixed unable to link C++ standard library to Espressif platform build
|
||||||
(`issue #503 <https://github.com/platformio/platformio/issues/503>`_)
|
(`issue #503 <https://github.com/platformio/platformio/issues/503>`_)
|
||||||
|
* Fixed issue with pointer (``char* myfunc()``) while converting from ``*.ino``
|
||||||
|
to ``*.cpp``
|
||||||
|
(`issue #506 <https://github.com/platformio/platformio/issues/506>`_)
|
||||||
|
|
||||||
2.8.3 (2016-02-02)
|
2.8.3 (2016-02-02)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -27,7 +27,7 @@ class InoToCPPConverter(object):
|
|||||||
|
|
||||||
PROTOTYPE_RE = re.compile(
|
PROTOTYPE_RE = re.compile(
|
||||||
r"""^(
|
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
|
(\s+[a-z_\d]+\s*) # name of prototype
|
||||||
\([a-z_,\.\*\&\[\]\s\d]*\) # arguments
|
\([a-z_,\.\*\&\[\]\s\d]*\) # arguments
|
||||||
)\s*\{ # must end with {
|
)\s*\{ # must end with {
|
||||||
|
Reference in New Issue
Block a user