Idegen: Don\'t assume a backslash is preceded by a space

am: 6a65b38

* commit '6a65b38d23d41f59b03d91b2e0d23038b9a56439':
  Idegen: Don't assume a backslash is preceded by a space

Change-Id: Ib0fb4f5415e5002c84511653bc1dfcaafd5070d6
This commit is contained in:
Eino-Ville Talvala
2016-04-15 22:44:11 +00:00
committed by android-build-merger

View File

@@ -150,7 +150,7 @@ public class MakeFileParser {
lineBuffer.append(" "); lineBuffer.append(" ");
} }
if (line.endsWith("\\")) { if (line.endsWith("\\")) {
lineBuffer.append(line.substring(0, line.length() - 2).trim()); lineBuffer.append(line.substring(0, line.length() - 1).trim());
} else { } else {
lineBuffer.append(line); lineBuffer.append(line);
} }