mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 10:19:17 +02:00
* the symbol parsed for "specialize" does not need to be a type; it could be a procsym or some other type (e.g. a constant of the same name in a third unit)
git-svn-id: trunk@39233 -
This commit is contained in:
parent
598ac21791
commit
22a5e5e4ee
@ -2837,8 +2837,7 @@ implementation
|
|||||||
|
|
||||||
if isspecialize then
|
if isspecialize then
|
||||||
begin
|
begin
|
||||||
if not assigned(srsym) or
|
if not assigned(srsym) then
|
||||||
(srsym.typ<>typesym) then
|
|
||||||
begin
|
begin
|
||||||
identifier_not_found(orgstoredpattern,tokenpos);
|
identifier_not_found(orgstoredpattern,tokenpos);
|
||||||
srsym:=generrorsym;
|
srsym:=generrorsym;
|
||||||
|
Loading…
Reference in New Issue
Block a user