fcl-passrc: parser: fixed forbid type t=ansistring[]

git-svn-id: trunk@36125 -
This commit is contained in:
Mattias Gaertner 2017-05-05 17:42:26 +00:00
parent c28d533bb0
commit a60f3b26e6

View File

@ -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;