~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-04-21 21:35:08 UTC
  • mfrom: (1.1.11 upstream) (12.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110421213508-kg34453aqmb0moha
* Fixes related to -output-obj with g++ (in debian/patches):
  - add Declare-primitive-name-table-as-const-char
  - add Avoid-multiple-declarations-in-generated-.c-files-in
  - fix Embed-bytecode-in-C-object-when-using-custom: the closing
    brace for extern "C" { ... } was missing in some cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
      parser_case parser_case_list;
321
321
    expr: LEVEL "top"
322
322
      [ [ "parser"; po = OPT parser_ipatt; pcl = parser_case_list ->
323
 
            <:expr< $cparser _loc po pcl$ >>
 
323
            cparser _loc po pcl
324
324
        | "match"; e = sequence; "with"; "parser"; po = OPT parser_ipatt;
325
325
          pcl = parser_case_list ->
326
 
            <:expr< $cparser_match _loc e po pcl$ >>
 
326
            cparser_match _loc e po pcl
327
327
      ] ]
328
328
    ;
329
329
    parser_case_list: