fix column combinator detection (#994)

This commit is contained in:
tophf 2020-07-14 23:21:47 +03:00 committed by GitHub
parent 2f4658657d
commit ca3633b896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2953,8 +2953,10 @@ self.parserlib = (() => {
case '$':
case '*':
return (
reader.peek() === '=' ? this.comparisonToken(c, pos) :
reader.readMatch('|') ? this.createToken(Tokens.COLUMN, '||', pos) :
reader.peek() === '=' ?
this.comparisonToken(c, pos) :
c === '|' && reader.readMatch('|') ?
this.createToken(Tokens.COLUMN, '||', pos) :
this.charToken(c, pos)
);
/*