mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
Fix define directive not accepting define names with digits in them
This commit is contained in:
@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user