mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
codetools: fixed parsing hint modifiers in resourcestring
git-svn-id: trunk@42789 -
This commit is contained in:
parent
8e624b03d2
commit
fdb9a6258b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user