mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-09 05:59:27 +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;}
|
end;}
|
||||||
until not(assigned(Current)) or
|
until not(assigned(Current)) or
|
||||||
(current.typ <> ait_Marker) 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;
|
Next := Current;
|
||||||
if assigned(Current) and
|
if assigned(Current) and
|
||||||
not((current.typ in SkipInstr) or
|
not((current.typ in SkipInstr) or
|
||||||
@ -1058,7 +1058,7 @@ begin
|
|||||||
end;}
|
end;}
|
||||||
until not(assigned(Current)) or
|
until not(assigned(Current)) or
|
||||||
(current.typ <> ait_Marker) 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
|
if not(assigned(Current)) or
|
||||||
(current.typ in SkipInstr) or
|
(current.typ in SkipInstr) or
|
||||||
((current.typ = ait_label) and
|
((current.typ = ait_label) and
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user