summaryrefslogtreecommitdiff
path: root/Parser.y
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 12:02:15 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 12:02:15 +0800
commita7c22d6229b5072445cb814b43140d8c8cc937a5 (patch)
tree11cd6b6876bacc66bd481a1c1d33d064d4dbc7ed /Parser.y
parent241f27a653330af1227694947626f409c3b128e2 (diff)
bugfix and comment support
Diffstat (limited to 'Parser.y')
-rw-r--r--Parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser.y b/Parser.y
index f4e9779..5a68916 100644
--- a/Parser.y
+++ b/Parser.y
@@ -347,7 +347,7 @@ namespace pcc {
{
std::stringstream loc;
loc<<l;
- Log(LogLevel::PCC_ERROR, "error at %s: %s", loc.str().c_str(), m.c_str());
+ Log(LogLevel::PCC_ERROR, "error at {0}: {1}", loc.str().c_str(), m.c_str());
}
}