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

« back to all changes in this revision

Viewing changes to debugger/eval.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:
11
11
(*                                                                     *)
12
12
(***********************************************************************)
13
13
 
14
 
(* $Id: eval.ml 9236 2009-04-19 08:42:43Z xleroy $ *)
 
14
(* $Id: eval.ml 9547 2010-01-22 12:48:24Z doligez $ *)
15
15
 
16
16
open Misc
17
17
open Path
197
197
        "@[Cannot extract item number %i from a value of type@ %a@]@."
198
198
        pos Printtyp.type_expr ty
199
199
  | Wrong_label(ty, lbl) ->
200
 
      fprintf ppf 
 
200
      fprintf ppf
201
201
        "@[The record type@ %a@ has no label named %s@]@."
202
202
        Printtyp.type_expr ty lbl
203
203
  | Not_a_record ty ->