Rémi Bernon (@rbernon) commented about tools/widl/parser.y:
}
| contract_req { $$ = $1; } /* activatable on the default activation factory */
+deprecated_ver:
- contract_req { $$ = $1; }
- | aNUM { $$ = make_exprl(EXPR_NUM, $1); }
- ;
+deprecated_attr:
- aSTRING ',' aIDENTIFIER ',' deprecated_ver {
$$ = make_expr2(EXPR_MEMBER, make_exprs(EXPR_STRLIT, $1), make_exprs(EXPR_IDENTIFIER, $3));
$$ = make_expr2(EXPR_MEMBER, $$, $5);
- }
Please keep the indentation consistent with the other rules.