@@ -1949,7 +1949,7 @@ begin
' PRec = ^specialize TRec<word>;',
'begin',
'']);
- CheckParserException('Expected "Identifier" at token "specialize" in file afile.pp at line 4 column 11',nParserExpectTokenError);
+ CheckParserException('Expected "Identifier or file"',nParserExpectTokenError);
end;
procedure TTestResolveGenerics.TestGen_HelperForArray;
@@ -16489,7 +16489,7 @@ begin
Add([
'type p = ^(red, green);',
'begin']);
- CheckParserException('Expected "Identifier" at token "(" in file afile.pp at line 2 column 11',
+ CheckParserException('Expected "Identifier or file"',
nParserExpectTokenError);
@@ -490,7 +490,8 @@ const
'LogicalXor',
'RightShift',
'Enumerator',
- 'In'
+ 'In',
+ 'Initialize'
);
PCUProcedureModifierNames: array[TProcedureModifier] of string = (