mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 22:49:37 +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
|
||||
else if (CurToken=tkSquaredBraceOpen) then
|
||||
begin
|
||||
// Todo: check via resolver
|
||||
if ((LowerCase(Name)='string') or (LowerCase(Name)='ansistring')) then // Type A = String[12];
|
||||
if LowerCase(Name)='string' then // Type A = String[12];
|
||||
K:=stkString
|
||||
else
|
||||
ParseExcSyntaxError;
|
||||
|
Loading…
Reference in New Issue
Block a user