OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4977a5
)
Fix error message description in Checker
author
David Brazdil
<dbrazdil@google.com>
Mon, 15 Jun 2015 13:57:29 +0000
(14:57 +0100)
committer
David Brazdil
<dbrazdil@google.com>
Mon, 15 Jun 2015 13:58:00 +0000
(14:58 +0100)
Change-Id: Ieaecd430b096f91cc41af6354ee82176fe60a037
tools/checker/match/line.py
patch
|
blob
|
history
diff --git
a/tools/checker/match/line.py
b/tools/checker/match/line.py
index
711d814
..
ce11e2a
100644
(file)
--- a/
tools/checker/match/line.py
+++ b/
tools/checker/match/line.py
@@
-41,7
+41,7
@@
def matchWords(checkerWord, stringWord, variables, pos):
if expression.name in variables:
pattern = re.escape(variables[expression.name])
else:
- Logger.testFailed("M
ultiple definitions
of variable \"{}\"".format(expression.name),
+ Logger.testFailed("M
issing definition
of variable \"{}\"".format(expression.name),
pos.fileName, pos.lineNo)
else:
pattern = expression.pattern