Commit e70bb220 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Added @dynamic parsing.

parent 08a85a51
......@@ -4092,7 +4092,21 @@ bool Parser::parseObjCMethodDefinitionList()
break;
}
// TODO: @dynamic
case T_AT_DYNAMIC: {
consumeToken();
unsigned identifier_token = 0;
match(T_IDENTIFIER, &identifier_token);
while (LA() == T_COMMA) {
consumeToken();
match(T_IDENTIFIER, &identifier_token);
}
unsigned semicolon_token = 0;
match(T_SEMICOLON, &semicolon_token);
break;
}
default:
if (LA() == T_EXTERN && LA(2) == T_STRING_LITERAL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment