aboutsummaryrefslogtreecommitdiff
path: root/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'rule.h')
-rw-r--r--rule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rule.h b/rule.h
index 84412c1..48394bb 100644
--- a/rule.h
+++ b/rule.h
@@ -49,7 +49,7 @@ class Rule {
private:
void Error(const string& msg) {
- ERROR("%s:%d: %s", loc.filename, loc.lineno, msg.c_str());
+ ERROR_LOC(loc, "%s", msg.c_str());
}
};