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:
1 parent
c5c86d17dc
commit
89e84163c2
1 file changed
+1
-1
@@ -98,12 +98,12 @@ public:
|
||||
while (it != expr.end())
|
||||
{
|
||||
char c = *it;
|
||||
it++;
|
||||
if (c == '`')
|
||||
return false;
|
||||
if (c > 0 && c == otherDelim)
|
||||
return true;
|
||||
value += c;
|
||||
it++;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user