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

« back to all changes in this revision

Viewing changes to camlp4/Camlp4Parsers/Camlp4DebugParser.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:
40
40
            StringSet.add (String.sub str i (String.length str - i)) acc ] in
41
41
      let sections = loop StringSet.empty 0 in
42
42
      if StringSet.mem "*" sections then fun _ -> True
43
 
      else fun x -> StringSet.mem x sections 
 
43
      else fun x -> StringSet.mem x sections
44
44
    with [ Not_found -> fun _ -> False ];
45
45
 
46
46
  value rec apply accu =