fix column combinator detection

This commit is contained in:
tophf 2020-07-14 20:52:48 +03:00
parent 2f4658657d
commit 8be92dd78f

View File

@ -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)
); );
/* /*