git-svn-id: trunk@47515 - (cherry picked from commit bb3d4722519b13cf5ffe86d1c62c669efcd1a0a3)
@@ -1932,7 +1932,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);