Re: [PATCH v2 0/1] MR383: widl: Add basic support for the [deprecated] attribute.
6 Jul
2022
6 Jul
'22
9:01 a.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/383#note_3435
1259
Age (days ago)
1259
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rémi Bernon