mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-08 00:27:59 +01:00
* skip mark_InlineStart, mark_InlineEnd and mark_Position markers
in getnext/lastinstruction git-svn-id: trunk@11039 -
This commit is contained in:
parent
b01454d2a3
commit
55d621fea3
@ -1016,7 +1016,7 @@ begin
|
||||
end;}
|
||||
until not(assigned(Current)) or
|
||||
(current.typ <> ait_Marker) or
|
||||
not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd]);
|
||||
not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd,mark_InlineStart,mark_InlineEnd,mark_Position]);
|
||||
Next := Current;
|
||||
if assigned(Current) and
|
||||
not((current.typ in SkipInstr) or
|
||||
@ -1058,7 +1058,7 @@ begin
|
||||
end;}
|
||||
until not(assigned(Current)) or
|
||||
(current.typ <> ait_Marker) or
|
||||
not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd]);
|
||||
not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd,mark_InlineStart,mark_InlineEnd,mark_Position]);
|
||||
if not(assigned(Current)) or
|
||||
(current.typ in SkipInstr) or
|
||||
((current.typ = ait_label) and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user