mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 00:09:17 +02:00
fcl-passrc: parser: fixed forbid type t=ansistring[]
git-svn-id: trunk@36125 -
This commit is contained in:
parent
c28d533bb0
commit
a60f3b26e6
@ -1184,8 +1184,7 @@ begin
|
|||||||
K:=stkAlias
|
K:=stkAlias
|
||||||
else if (CurToken=tkSquaredBraceOpen) then
|
else if (CurToken=tkSquaredBraceOpen) then
|
||||||
begin
|
begin
|
||||||
// Todo: check via resolver
|
if LowerCase(Name)='string' then // Type A = String[12];
|
||||||
if ((LowerCase(Name)='string') or (LowerCase(Name)='ansistring')) then // Type A = String[12];
|
|
||||||
K:=stkString
|
K:=stkString
|
||||||
else
|
else
|
||||||
ParseExcSyntaxError;
|
ParseExcSyntaxError;
|
||||||
|
Loading…
Reference in New Issue
Block a user