mirror of https://gitlab.com/basile.b/dexed.git
syxsyn, fix lexOpAndOpOpAndOpEqual lookup tested the wrong char
leading to `-1` being colourized as a whole symbol
This commit is contained in:
parent
99557fed58
commit
9c79c35082
|
@ -399,7 +399,7 @@ begin
|
||||||
nextPChar := safeLookupChar();
|
nextPChar := safeLookupChar();
|
||||||
if nextPChar <> nil then
|
if nextPChar <> nil then
|
||||||
begin
|
begin
|
||||||
nextChar := fLineBuf[fTokStop];
|
nextChar := nextPChar^;
|
||||||
if (nextChar = op) or (nextChar = '=') then
|
if (nextChar = op) or (nextChar = '=') then
|
||||||
fTokStop += 1;
|
fTokStop += 1;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue