mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-12 22:05:21 +02:00
Fix INO to CPP converter when #define is used
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#define SQR(a) \
|
||||
( a * a )
|
||||
|
||||
typedef struct Item item;
|
||||
struct Item {
|
||||
byte foo[50];
|
||||
@@ -10,7 +13,7 @@ class Foo {
|
||||
|
||||
public:
|
||||
Foo(void (*function)()) {
|
||||
#warning "Line number is 13"
|
||||
#warning "Line number is 16"
|
||||
}
|
||||
|
||||
bool childFunc() {
|
||||
|
Reference in New Issue
Block a user