mirror of https://gitlab.com/basile.b/dexed.git
sxsyn, allow $1 as identifier
This commit is contained in:
parent
22f0a5cf39
commit
4c85af2cc4
|
|
@ -675,21 +675,12 @@ begin
|
||||||
while fTokStop <= fLineBuf.length do
|
while fTokStop <= fLineBuf.length do
|
||||||
begin
|
begin
|
||||||
case fLineBuf[fTokStop] of
|
case fLineBuf[fTokStop] of
|
||||||
'_', 'a'..'z', 'A'..'Z':
|
'_', 'a'..'z', 'A'..'Z', '0'..'9':
|
||||||
begin
|
begin
|
||||||
oneChr := true;
|
oneChr := true;
|
||||||
fTokStop += 1;
|
fTokStop += 1;
|
||||||
continue;
|
continue;
|
||||||
end;
|
end;
|
||||||
'0' .. '9':
|
|
||||||
begin
|
|
||||||
if oneChr then
|
|
||||||
begin
|
|
||||||
fTokStop += 1;
|
|
||||||
continue;
|
|
||||||
end
|
|
||||||
else break; // e.g $0
|
|
||||||
end
|
|
||||||
else break;
|
else break;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue