Browse Source

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

git-svn-id: trunk@36125 -
Mattias Gaertner 8 years ago
parent
commit
a60f3b26e6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/fcl-passrc/src/pparser.pp

+ 1 - 2
packages/fcl-passrc/src/pparser.pp

@@ -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') or (LowerCase(Name)='ansistring')) then // Type A = String[12];
+      if LowerCase(Name)='string' then // Type A = String[12];
         K:=stkString
         K:=stkString
       else
       else
         ParseExcSyntaxError;
         ParseExcSyntaxError;