mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ExpressionParser: Fix delimiter scanning
We need to make sure we eat the delimiter, otherwise we'll notice the colon / backtick and think it's either a new control or part of the control name
This commit is contained in:
@ -98,12 +98,12 @@ public:
|
|||||||
while (it != expr.end())
|
while (it != expr.end())
|
||||||
{
|
{
|
||||||
char c = *it;
|
char c = *it;
|
||||||
|
it++;
|
||||||
if (c == '`')
|
if (c == '`')
|
||||||
return false;
|
return false;
|
||||||
if (c > 0 && c == otherDelim)
|
if (c > 0 && c == otherDelim)
|
||||||
return true;
|
return true;
|
||||||
value += c;
|
value += c;
|
||||||
it++;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user