~ubuntu-branches/ubuntu/trusty/coccinelle/trusty-proposed

« back to all changes in this revision

Viewing changes to parsing_c/pretty_print_c.ml

  • Committer: Bazaar Package Importer
  • Author(s): Євгеній Мещеряков
  • Date: 2010-07-25 01:10:07 UTC
  • mfrom: (7.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100725011007-jgd9ctxi1x03fthg
Tags: 0.2.3.deb-1
* New upstream release
* Removed patches:
  - system-{pycaml,menhir,ocamlsexp}.diff - upstream build system can handle
    this
  - documentation-paths.diff - the manpage is generated using correct paths
  - documentation-build.diff - build documentation, authors clarified that
    it does not contain Front/Back Covers and Invariant Sections
* New patches:
  - syslibs-depend.diff - fix depend targets when system libraries are used
* Override clean directories in debian/rules: upstream makefile tries to
  clean directories removed in Debian package
* Build and install pdf docs
  - build-depend on texlive-latex-base, texlive-latex-recommended,
    texlive-latex-extra, texlive-fonts-recommended, texlive-fonts-extra
* Do not compress .pdf .cocci and .c files
* Add information about manual license (GFDL-1.3+) into debian/copyright
* Standards-Version 3.9.0 — no changes required
* Install the bash completion file

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
    | CondExpr (e1, e2, e3),    [i1;i2]    ->
93
93
        pp_expression e1; pr_space(); pr_elem i1; pr_space();
94
94
        do_option (function x -> pp_expression x; pr_space()) e2; pr_elem i2;
95
 
        pp_expression e3
 
95
        pr_space(); pp_expression e3
96
96
    | Sequence (e1, e2),          [i]  ->
97
97
        pp_expression e1; pr_elem i; pr_space(); pp_expression e2
98
98
    | Assignment (e1, op, e2),    [i]  ->
427
427
      | (ParenType t, _)                           -> pp_base_type t sto
428
428
      | (Array (eopt, t), [i1;i2])                 -> pp_base_type t sto
429
429
      | (FunctionType (returnt, paramst), [i1;i2]) ->
430
 
          pp_base_type returnt sto
 
430
          pp_base_type returnt sto;
431
431
 
432
432
 
433
433
      | (StructUnion (su, sopt, fields),iis) ->