Fix INO to CPP converter when #define is used

This commit is contained in:
Ivan Kravets
2016-09-02 14:35:07 +03:00
parent b06dc1e63f
commit 6442c86084
3 changed files with 15 additions and 5 deletions

View File

@@ -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() {