summaryrefslogtreecommitdiff
path: root/Driver.cc
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 11:02:24 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 11:02:24 +0800
commit241f27a653330af1227694947626f409c3b128e2 (patch)
tree02f2eb98a78e7de6b8ccb9af1016688b009ecb63 /Driver.cc
parentf3729aee72a60578738f0c2fddcca2831019f546 (diff)
message formatting, assembly and object support
Diffstat (limited to 'Driver.cc')
-rw-r--r--Driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver.cc b/Driver.cc
index af04805..2d7441d 100644
--- a/Driver.cc
+++ b/Driver.cc
@@ -14,7 +14,7 @@ std::shared_ptr<ProgramNode> Driver::Parse(std::string& filename) {
return nullptr;
}
Parser parser(*this, &context_);
- if (CurrentLogLevel == pcc::PCC_DEBUG) {
+ if (GetLogLevel() == pcc::PCC_DEBUG) {
parser.set_debug_level(1);
}
parser.parse();