* Fix some minor sideeffect introduced by r15729. File without "of integer" must remain working.

git-svn-id: trunk@15743 -
This commit is contained in:
marco 2010-08-08 12:44:11 +00:00
parent 99aece6230
commit 72f53aacd8

View File

@ -651,7 +651,9 @@ procedure TPasParser.ParseFileType(Element: TPasFileType);
begin begin
NextToken; NextToken;
If CurToken=tkOf then If CurToken=tkOf then
Element.ElType := ParseType(nil); Element.ElType := ParseType(nil)
else
ungettoken;
end; end;
function TPasParser.isEndOfExp:Boolean; function TPasParser.isEndOfExp:Boolean;