Open justin-iteratively opened 3 years ago
Hi,
In the lexer there are a couple of macros that are ignored. You can also add extra ones like API_AVAILABLE
, NS_SWIFT_NAME
and etc.
FYI, I have much more modern Objective-C grammar. Maybe I'll upload it later.
Problem
References to API_AVAILABLE() cause parse errors using objc grammar.
Example Source
Error output
Workaround
Remove API_AVAILABLE() prior to parsing.