Fix define directive not accepting define names with digits in them

This commit is contained in:
Jan committed 2021-02-14 10:33:08 +01:00
1 parent e685348abd
commit b25d64e5e7
2 files changed
+18 -1

No files matched your search

@@ -51,7 +51,7 @@ bool AbstractDirectiveStreamProxy::ExtractIdentifier(const ParserLine& line, uns
const auto c = line.m_line[position];
if (isalpha(c)
|| c == '_'
|| firstChar && isdigit(c))
|| !firstChar && isdigit(c))
{
position++;
}