From eac81e673395b672d80f990d780389877eeb51b6 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 23 Jul 2020 22:32:07 +0200 Subject: [PATCH] Also check for opcode containing $ in value extraction --- src/sfizz/parser/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/parser/Parser.cpp b/src/sfizz/parser/Parser.cpp index c846e588..071bc1e2 100644 --- a/src/sfizz/parser/Parser.cpp +++ b/src/sfizz/parser/Parser.cpp @@ -314,7 +314,7 @@ void Parser::processOpcode() // if sequence of identifier chars and then "=", an opcode follows else if (isIdentifierChar(valueRaw[i])) { ++i; - while (i < valueSize && isIdentifierChar(valueRaw[i])) + while (i < valueSize && (isIdentifierChar(valueRaw[i]) || valueRaw[i] == '$')) ++i; if (i < valueSize && valueRaw[i] == '=') stop = true;