Also check for opcode containing $ in value extraction

This commit is contained in:
Jean Pierre Cimalando 2020-07-23 22:32:07 +02:00
parent f5b9829e8f
commit eac81e6733

View file

@ -314,7 +314,7 @@ void Parser::processOpcode()
// if sequence of identifier chars and then "=", an opcode follows // if sequence of identifier chars and then "=", an opcode follows
else if (isIdentifierChar(valueRaw[i])) { else if (isIdentifierChar(valueRaw[i])) {
++i; ++i;
while (i < valueSize && isIdentifierChar(valueRaw[i])) while (i < valueSize && (isIdentifierChar(valueRaw[i]) || valueRaw[i] == '$'))
++i; ++i;
if (i < valueSize && valueRaw[i] == '=') if (i < valueSize && valueRaw[i] == '=')
stop = true; stop = true;