try to ignore /*[[USO-var]]*// first
This commit is contained in:
parent
696690c8da
commit
e4c399a1c0
|
@ -2511,6 +2511,13 @@ self.parserlib = (() => {
|
||||||
let result, m;
|
let result, m;
|
||||||
|
|
||||||
if (this.simple['<var>'](part)) {
|
if (this.simple['<var>'](part)) {
|
||||||
|
if (expression._i < expression._parts.length - 1) {
|
||||||
|
expression.mark();
|
||||||
|
expression._i++;
|
||||||
|
result = ValidationTypes.isType(expression, type);
|
||||||
|
expression.restore();
|
||||||
|
expression._i += result ? 1 : 0;
|
||||||
|
}
|
||||||
result = true;
|
result = true;
|
||||||
|
|
||||||
} else if (!type.startsWith('<')) {
|
} else if (!type.startsWith('<')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user