mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:39:12 +02:00
codetools: parsing type hint modifiers
git-svn-id: trunk@43215 -
This commit is contained in:
parent
6849f265a6
commit
b1dfaeda44
@ -3382,7 +3382,7 @@ var
|
||||
NeedUndo: boolean;
|
||||
CanHaveString: Boolean;
|
||||
begin
|
||||
if not (Scanner.CompilerMode in [cmOBJFPC,cmDELPHI,cmDELPHIUNICODE]) then exit;
|
||||
if not (Scanner.CompilerMode in [cmFPC,cmOBJFPC,cmDELPHI,cmDELPHIUNICODE]) then exit;
|
||||
if CurPos.Flag=cafSemicolon then begin
|
||||
ReadNextAtom;
|
||||
NeedUndo:=true;
|
||||
@ -4679,6 +4679,7 @@ begin
|
||||
SaveRaiseException(ctsInvalidType);
|
||||
end;
|
||||
end;
|
||||
ReadHintModifiers;
|
||||
EndChildNode;
|
||||
Result:=true;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user