hthang1988 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Show sketch (not .cpp file) name in error messages for sketches with one tab. #281

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a sketch with one tab and an error.
2.Compile.

What is the expected output? What do you see instead?

The error message says, for example, "Graph.cpp: In function '...'" instead of 
"Graph:In function '...'.  If the sketch has multiple tabs, this is probably 
unavoidable (when we don't have a line number) because we don't know which tab 
is referred to.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by dmel...@gmail.com on 4 Jul 2010 at 11:12

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 10 Jul 2010 at 9:13

GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/commit/77ed2f4d62d51ca9d79f3353936e9d359d886c
cb

Original comment by dmel...@gmail.com on 27 May 2012 at 4:34