mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 00:07:28 +01:00
codetools: jvm class interface var modifier external
git-svn-id: trunk@34438 -
This commit is contained in:
parent
d8b85e3a4c
commit
5a60b9e824
@ -3171,9 +3171,12 @@ begin
|
||||
RaiseCharExpectedButAtomFound(';');
|
||||
ReadNextAtom;
|
||||
end;
|
||||
//if UpAtomIs('EXTERNAL') then
|
||||
// debugln(['TPascalParserTool.ReadVariableType ',CurNode.Parent.Parent.DescAsString,' ',CurNode.Parent.DescAsString,' ',CurNode.DescAsString]);
|
||||
if (CurNode.Parent.Desc in [ctnVarSection,ctnClassClassVar])
|
||||
and ((CurNode.Parent.Parent.Desc in AllCodeSections)
|
||||
or ((CurNode.Parent.Parent.Desc in AllClassBaseSections) and Scanner.Values.IsDefined('JVM')))
|
||||
or ((CurNode.Parent.Parent.Desc in (AllClassBaseSections+AllClassInterfaces))
|
||||
and Scanner.Values.IsDefined('JVM')))
|
||||
and (UpAtomIs('PUBLIC') or UpAtomIs('EXPORT') or UpAtomIs('EXTERNAL')
|
||||
or UpAtomIs('WEAKEXTERNAL') or UpAtomIs('CVAR')) then
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user