mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Updating to C++, new Mac avr tools, Windows to be updated.
This commit is contained in:
@ -526,14 +526,14 @@ public class Compiler implements MessageConsumer {
|
||||
String s1 = s.substring(partialStartIndex +
|
||||
partialTempPath.length() + 1);
|
||||
//System.out.println(s1);
|
||||
if (s1.indexOf("In function")!= -1) {
|
||||
int colon = s1.indexOf(':');
|
||||
|
||||
if (s1.indexOf("In function") != -1 || colon == -1) {
|
||||
System.err.print(s1);
|
||||
//firstErrorFound = true;
|
||||
return;
|
||||
}
|
||||
|
||||
int colon = s1.indexOf(':');
|
||||
|
||||
int lineNumber = Integer.parseInt(s1.substring(0, colon));
|
||||
|
||||
// the "1" corresponds to the amount of lines written to the main code
|
||||
|
Reference in New Issue
Block a user