AI 146229: Fix aidl error parsing (BUG #1789273)
BUG=1789273 Automated import of CL 146229
This commit is contained in:
committed by
The Android Open Source Project
parent
0025ca45b6
commit
54ed5a2f90
@@ -72,8 +72,10 @@ public class PreCompilerBuilder extends BaseBuilder {
|
||||
/**
|
||||
* Single line aidl error<br>
|
||||
* "<path>:<line>: <error>"
|
||||
* or
|
||||
* "<path>:<line> <error>"
|
||||
*/
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user