|
@@ -1995,10 +1995,10 @@ uses
|
|
|
{ Build VMT indexes for classes and read hint directives }
|
|
|
objectdef:
|
|
|
begin
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
begin
|
|
|
try_consume_hintdirective(srsym.symoptions,srsym.deprecatedmsg);
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
consume(_SEMICOLON);
|
|
|
end;
|
|
|
|
|
@@ -2011,18 +2011,18 @@ uses
|
|
|
procvardef:
|
|
|
begin
|
|
|
hintsprocessed:=false;
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
begin
|
|
|
if not check_proc_directive(true) then
|
|
|
begin
|
|
|
hintsprocessed:=try_consume_hintdirective(ttypesym(srsym).symoptions,ttypesym(srsym).deprecatedmsg);
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
consume(_SEMICOLON);
|
|
|
end
|
|
|
else
|
|
|
hintsprocessed:=true;
|
|
|
end;
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
parse_proctype_directives(tprocvardef(result));
|
|
|
if po_is_function_ref in tprocvardef(result).procoptions then
|
|
|
adjust_funcref(result,srsym,nil);
|
|
@@ -2031,10 +2031,10 @@ uses
|
|
|
else
|
|
|
flags:=hcc_default_actions_intf_struct;
|
|
|
handle_calling_convention(result,flags);
|
|
|
- if not hintsprocessed and (replaydepth>current_scanner.replay_stack_depth) then
|
|
|
+ if not hintsprocessed and (replaydepth<current_scanner.replay_stack_depth) then
|
|
|
begin
|
|
|
try_consume_hintdirective(ttypesym(srsym).symoptions,ttypesym(srsym).deprecatedmsg);
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
consume(_SEMICOLON);
|
|
|
end;
|
|
|
end;
|
|
@@ -2060,9 +2060,9 @@ uses
|
|
|
end;
|
|
|
else
|
|
|
{ parse hint directives for records and arrays }
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then begin
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then begin
|
|
|
try_consume_hintdirective(srsym.symoptions,srsym.deprecatedmsg);
|
|
|
- if replaydepth>current_scanner.replay_stack_depth then
|
|
|
+ if replaydepth<current_scanner.replay_stack_depth then
|
|
|
consume(_SEMICOLON);
|
|
|
end;
|
|
|
end;
|