mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 11:49:38 +01:00
* quick fix folding {$i %variablename%} to tkstring, mantis 16343
git-svn-id: trunk@15731 -
This commit is contained in:
parent
786c4e206f
commit
b48130b39b
@ -1015,7 +1015,15 @@ begin
|
||||
if FCurSourceFile is TFileLineReader then
|
||||
FCurFilename := TFileLineReader(FCurSourceFile).Filename; // nicer error messages
|
||||
FCurRow := 0;
|
||||
end;
|
||||
end
|
||||
else
|
||||
if Param[1]='%' then
|
||||
begin
|
||||
fcurtokenstring:='{$i '+param+'}';
|
||||
fcurtoken:=tkstring;
|
||||
result:=fcurtoken;
|
||||
exit;
|
||||
end;
|
||||
end else if Directive = 'DEFINE' then
|
||||
begin
|
||||
if not PPIsSkipping then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user