Skip to content

Commit 6503b97

Browse files
author
jantje
committed
Fix for #314
1 parent 27b41df commit 6503b97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/toolchain/ArduinoLanguageProvider.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,12 @@ protected String getCompilerCommand(String languageId) {
188188
ManagedBuilderCorePlugin.error("Unable to find compiler command for language " + languageId + " in toolchain=" + getToolchainId()); //$NON-NLS-1$
189189
}
190190

191-
return compilerCommand.replaceAll("\"\"", "").replaceAll(" ", " "); // remove
192-
// ""
191+
String ret= compilerCommand.replaceAll("[^\\\\]\"\"", "").replaceAll(" ", " "); // remove
192+
// "" except \""
193193
// and
194194
// double
195195
// blanks
196+
return ret;
196197
}
197198

198199
}

0 commit comments

Comments
 (0)