[fpc-pascal] fcl-passrc with Objective-c
Ryan Joseph
genericptr at gmail.com
Wed Oct 2 15:32:43 CEST 2019
How well can the parser handle the objective-c mode? At my first attempt it seemed to fail pretty early on so I’m not sure it’s even supported.
EParserError: Expected ";" at token "Identifier external" in file /Developer/ObjectivePascal/MacOS_10_10/appkit/NSAccessibilityProtocols.inc at line 31 column 49
type
NSAccessibilityElementProtocol = objcprotocol external name 'NSAccessibilityElement' (NSObjectProtocol)
required
function accessibilityFrame: NSRect; message 'accessibilityFrame';
function accessibilityParent: id; message 'accessibilityParent';
optional
function isAccessibilityFocused: boolean; message 'isAccessibilityFocused';
function accessibilityIdentifier: NSString; message 'accessibilityIdentifier';
end;
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list