mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-18 16:55:22 +02:00
Fix wrong line number for INO file when `#warning
` directive is used // Resolve #742
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
struct MyItem {
|
||||
byte foo[50];
|
||||
int bar;
|
||||
@@ -7,8 +6,12 @@ struct MyItem {
|
||||
void setup() {
|
||||
struct MyItem item1;
|
||||
myFunction(&item1);
|
||||
|
||||
|
||||
}
|
||||
|
||||
#warning "Line number is 13"
|
||||
|
||||
void loop() {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user