fix column combinator detection (#994)
This commit is contained in:
parent
2f4658657d
commit
ca3633b896
|
@ -2953,8 +2953,10 @@ self.parserlib = (() => {
|
||||||
case '$':
|
case '$':
|
||||||
case '*':
|
case '*':
|
||||||
return (
|
return (
|
||||||
reader.peek() === '=' ? this.comparisonToken(c, pos) :
|
reader.peek() === '=' ?
|
||||||
reader.readMatch('|') ? this.createToken(Tokens.COLUMN, '||', pos) :
|
this.comparisonToken(c, pos) :
|
||||||
|
c === '|' && reader.readMatch('|') ?
|
||||||
|
this.createToken(Tokens.COLUMN, '||', pos) :
|
||||||
this.charToken(c, pos)
|
this.charToken(c, pos)
|
||||||
);
|
);
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user