From 6211d0519ef7a6620bbbb9cdefad97486dfeb3b9 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Wed, 24 Oct 2012 12:17:50 -0400 Subject: [PATCH] Refer to original file in error messages. --- arduino-mk/Arduino.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 09819ac..477b176 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -599,6 +599,7 @@ $(OBJDIR)/%.cpp: %.pde # the ino -> cpp -> o file $(OBJDIR)/%.cpp: %.ino $(ECHO) '#include ' > $@ + $(ECHO) '#line 1 "$<"' > $@ $(CAT) $< >> $@ $(OBJDIR)/%.o: $(OBJDIR)/%.cpp