Mark `field` and `field_semi` as %inline.

master
François Pottier 2018-11-20 23:08:27 +01:00
parent 896310d5e6
commit 85460203cb
1 changed files with 2 additions and 2 deletions

View File

@ -3250,14 +3250,14 @@ meth_list:
| DOTDOT
{ [], Open }
;
field:
%inline field:
mkrhs(label) COLON poly_type_no_attr attributes
{ let info = symbol_info $endpos in
let attrs = add_info_attrs info $4 in
Of.tag ~loc:(make_loc $sloc) ~attrs $1 $3 }
;
field_semi:
%inline field_semi:
mkrhs(label) COLON poly_type_no_attr attributes SEMI attributes
{ let info =
match rhs_info $endpos($4) with