AI 146552: am: CL 146247 am: CL 146229 Fix aidl error parsing (BUG #1789273)

Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146552
This commit is contained in:
Xavier Ducrohet
2009-04-18 16:00:05 -07:00
committed by The Android Open Source Project
parent fd46c2cf5a
commit 6584643ee7

View File

@@ -72,8 +72,10 @@ public class PreCompilerBuilder extends BaseBuilder {
/**
* Single line aidl error<br>
* "&lt;path&gt;:&lt;line&gt;: &lt;error&gt;"
* or
* "&lt;path&gt;:&lt;line&gt; &lt;error&gt;"
*/
private static Pattern sAidlPattern1 = Pattern.compile("^(.+?):(\\d+):\\s(.+)$"); //$NON-NLS-1$
private static Pattern sAidlPattern1 = Pattern.compile("^(.+?):(\\d+):?\\s(.+)$"); //$NON-NLS-1$
/**
* Data to temporarly store aidl source file information