~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to parsing_cocci/parser_cocci_menhir.mly

  • Committer: Michele Martone
  • Date: 2023-11-16 17:14:57 UTC
  • Revision ID: git-v1:a21415de0221553b69e5ab93228efefa2e7a7fb1
coccinelle-side support for rvalue references, parsing with tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1194
1194
     (cv1,t,cv2,m) }
1195
1195
 
1196
1196
full_ctype_and_ptr(ty):
1197
 
cv1=const_vol_attr_list t=ty cv2=const_vol_attr_list m=list(mul) { (cv1, t, cv2, m) }
 
1197
  cv1=const_vol_attr_list t=ty cv2=const_vol_attr_list m=list(mul) { (cv1, t, cv2,  m ) }
 
1198
| cv1=const_vol_attr_list t=ty cv2=const_vol_attr_list m=TAnd      { (cv1, t, cv2, [(m,[])]) }
 
1199
| cv1=const_vol_attr_list t=ty cv2=const_vol_attr_list m=TAndLog   { (cv1, t, cv2, [(m,[])]) }
1198
1200
 
1199
1201
ctype:
1200
1202
  full_ctype_and_ptr(all_basic_types)