mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +02:00
LazUtils: Add a note in CompileRange for possible future optimization.
Note: code contains writeln's, so it will crash if no console is available.
This commit is contained in:
parent
15fe156691
commit
a45b237a29
@ -896,6 +896,8 @@ begin
|
||||
break;
|
||||
end // end of range or set
|
||||
else begin //not a range, not AnyCharOrNone, must be a set
|
||||
//Note: why not raise an exception right here if mocSet is NOT enabled?
|
||||
|
||||
// handle escaping if mocSet is enabled, but mocRange not
|
||||
if (fMask[fMaskInd]=FMaskEscapeChar) and (mocEscapeChar in fMaskOpcodesAllowed) then begin //escaped literal in set
|
||||
// next is optional char in set or literal, consume the EscapeChar
|
||||
|
Loading…
Reference in New Issue
Block a user