mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 00:10:19 +02:00
* searchsym_in_named_module() for searching in the module we are currently
compiling git-svn-id: branches/jvmbackend@18688 -
This commit is contained in:
parent
69abbba6bb
commit
8fcc88d763
@ -2116,8 +2116,8 @@ implementation
|
||||
|
||||
{ If the module is the current unit we also need
|
||||
to search the local symtable }
|
||||
if (current_module.globalsymtable=srsymtable) and
|
||||
assigned(current_module.localsymtable) then
|
||||
if assigned(current_module.localsymtable) and
|
||||
(current_module.localsymtable.name^=unitname) then
|
||||
begin
|
||||
srsymtable:=current_module.localsymtable;
|
||||
srsym:=tsym(srsymtable.find(symname));
|
||||
|
Loading…
Reference in New Issue
Block a user