summaryrefslogtreecommitdiffstats
path: root/libacc/acc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libacc/acc.cpp')
-rw-r--r--libacc/acc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libacc/acc.cpp b/libacc/acc.cpp
index 0409c10..535361c 100644
--- a/libacc/acc.cpp
+++ b/libacc/acc.cpp
@@ -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(;;) {