mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 04:37:19 +01:00
* don't write local constants of procedures, because their names may clash
(the JVM doesn't have a concept of local constants, so they were made
global)
git-svn-id: branches/jvmbackend@18524 -
This commit is contained in:
parent
845f50448c
commit
a6e196bfd6
@ -928,7 +928,9 @@ implementation
|
||||
end;
|
||||
constsym:
|
||||
begin
|
||||
WriteConstSym(tconstsym(sym));
|
||||
{ multiple procedures can have constants with the same name }
|
||||
if tdef(sym.owner.defowner).typ<>procdef then
|
||||
WriteConstSym(tconstsym(sym));
|
||||
end;
|
||||
procsym:
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user