codetools: fixed parsing hint modifiers in resourcestring

git-svn-id: trunk@42789 -
This commit is contained in:
mattias 2013-09-14 01:31:32 +00:00
parent 8e624b03d2
commit fdb9a6258b

View File

@ -3648,11 +3648,11 @@ begin
if (not AtomIsStringConstant) and (not AtomIsIdentifier) then
SaveRaiseStringExpectedButAtomFound(ctsStringConstant);
ReadConstant(true,false,[]);
// read hint modifier
ReadHintModifiers;
// read ;
if CurPos.Flag<>cafSemicolon then
SaveRaiseCharExpectedButAtomFound(';');
// read hint modifier
ReadHintModifiers;
CurNode.EndPos:=CurPos.EndPos;
EndChildNode;
end else begin