summaryrefslogtreecommitdiff
path: root/tools/preproc/charmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/preproc/charmap.cpp')
-rw-r--r--tools/preproc/charmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/charmap.cpp b/tools/preproc/charmap.cpp
index c7091c4b8..573981694 100644
--- a/tools/preproc/charmap.cpp
+++ b/tools/preproc/charmap.cpp
@@ -183,7 +183,7 @@ Lhs CharmapReader::ReadLhs()
lhs.type = LhsType::Char;
}
}
- else if (IsIdentifierChar(m_buffer[m_pos]))
+ else if (IsIdentifierStartingChar(m_buffer[m_pos]))
{
lhs.type = LhsType::Constant;
lhs.name = ReadConstant();