mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 20:49:49 +02:00
* cosmetics
git-svn-id: trunk@44542 -
This commit is contained in:
parent
c1c201f93c
commit
fc98a0db4f
@ -430,8 +430,8 @@ implementation
|
||||
;
|
||||
constsym:
|
||||
begin
|
||||
if tconstsym(symtableentry).consttyp=constresourcestring then
|
||||
expectloc:=LOC_CREFERENCE;
|
||||
if tconstsym(symtableentry).consttyp=constresourcestring then
|
||||
expectloc:=LOC_CREFERENCE;
|
||||
end;
|
||||
staticvarsym,
|
||||
localvarsym,
|
||||
@ -453,25 +453,25 @@ implementation
|
||||
end;
|
||||
end;
|
||||
procsym :
|
||||
begin
|
||||
{ initialise left for nested procs if necessary }
|
||||
if (m_nested_procvars in current_settings.modeswitches) then
|
||||
setprocdef(fprocdef);
|
||||
{ method pointer or nested proc ? }
|
||||
if assigned(left) then
|
||||
begin
|
||||
expectloc:=LOC_CREGISTER;
|
||||
firstpass(left);
|
||||
end;
|
||||
end;
|
||||
labelsym :
|
||||
begin
|
||||
if not assigned(tlabelsym(symtableentry).asmblocklabel) and
|
||||
not assigned(tlabelsym(symtableentry).code) then
|
||||
Message(parser_e_label_outside_proc);
|
||||
end
|
||||
else
|
||||
internalerror(200104143);
|
||||
begin
|
||||
{ initialise left for nested procs if necessary }
|
||||
if (m_nested_procvars in current_settings.modeswitches) then
|
||||
setprocdef(fprocdef);
|
||||
{ method pointer or nested proc ? }
|
||||
if assigned(left) then
|
||||
begin
|
||||
expectloc:=LOC_CREGISTER;
|
||||
firstpass(left);
|
||||
end;
|
||||
end;
|
||||
labelsym :
|
||||
begin
|
||||
if not assigned(tlabelsym(symtableentry).asmblocklabel) and
|
||||
not assigned(tlabelsym(symtableentry).code) then
|
||||
Message(parser_e_label_outside_proc);
|
||||
end
|
||||
else
|
||||
internalerror(200104143);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user