am cc61802b: am ecfd8e73: acc error tweaks

Merge commit 'cc61802bb201f30566dbb05f7386543da173a827'

* commit 'cc61802bb201f30566dbb05f7386543da173a827':
  acc error tweaks
This commit is contained in:
Joe Onorato 2009-08-28 09:37:19 -07:00 committed by Android Git Automerger
commit ea478b82ca
1 changed files with 1 additions and 2 deletions

View File

@ -3837,7 +3837,7 @@ class Compiler : public ErrorSink {
void assertImpl(bool isTrue, int line) {
if (!isTrue) {
LOGD("assertion failed at line %s:%d.", __FILE__, line);
LOGD("%d: assertion failed at line %s:%d.", mLineNumber, __FILE__, line);
internalError();
}
}
@ -5220,7 +5220,6 @@ class Compiler : public ErrorSink {
String temp;
decodeToken(temp, tok, true);
error("Expected name. Got %s", temp.getUnwrapped());
assert(false);
reportFailure = true;
}
for(;;) {