~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to engine/pattern_c.ml

  • Committer: Sébastien Hinderer
  • Date: 2015-08-10 12:22:12 UTC
  • mto: (4116.2.93)
  • mto: This revision was merged to the branch mainline in revision 4121.
  • Revision ID: git-v1:848f85e256516330c06f5fd8dc782b854ed9aa03
Remove a bunch of trailing whitespaces and blank lines at end of files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
411
411
                   (if strip
412
412
                   then Lib_parsing_c.al_arguments a
413
413
                   else Lib_parsing_c.semi_al_arguments a))
414
 
                
 
414
 
415
415
          | Ast_c.MetaDeclVal a ->
416
416
              success
417
417
                (Ast_c.MetaDeclVal
442
442
                   (if strip
443
443
                   then Lib_parsing_c.al_type a
444
444
                   else Lib_parsing_c.semi_al_type a))
445
 
                
 
445
 
446
446
          | Ast_c.MetaInitVal a ->
447
447
              success
448
448
                (Ast_c.MetaInitVal
449
449
                   (if strip
450
450
                   then Lib_parsing_c.al_init a
451
451
                   else Lib_parsing_c.semi_al_init a))
452
 
                
 
452
 
453
453
          | Ast_c.MetaInitListVal a ->
454
454
              success
455
455
                (Ast_c.MetaInitListVal
456
456
                   (if strip
457
457
                   then Lib_parsing_c.al_inits a
458
458
                   else Lib_parsing_c.semi_al_inits a))
459
 
                
 
459
 
460
460
          | Ast_c.MetaListlenVal a -> success(Ast_c.MetaListlenVal a)
461
 
                
 
461
 
462
462
          | Ast_c.MetaParamVal a ->
463
463
              success
464
464
                (Ast_c.MetaParamVal
471
471
                   (if strip
472
472
                   then Lib_parsing_c.al_params a
473
473
                   else Lib_parsing_c.semi_al_params a))
474
 
                
 
474
 
475
475
          | Ast_c.MetaFragListVal a ->
476
476
              success
477
477
                (Ast_c.MetaFragListVal
484
484
                   (if strip
485
485
                   then Lib_parsing_c.al_string_format a
486
486
                   else Lib_parsing_c.semi_al_string_format a))
487
 
                
 
487
 
488
488
          | Ast_c.MetaPosVal (pos1,pos2) ->
489
489
              success(Ast_c.MetaPosVal (pos1,pos2))
490
490
          | Ast_c.MetaPosValList l -> success (Ast_c.MetaPosValList l)
574
574
      pos_variables tin ia
575
575
        (function _ -> [Lib_parsing_c.lin_col_by_pos [ib]])
576
576
        finish
577
 
      
 
577
 
578
578
  let tokenf_mck mck ib = fun tin ->
579
579
    let pos = Ast_c.info_to_fixpos ib in
580
580
    let posmck = Ast_cocci.FixPos (pos, pos) in