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

« back to all changes in this revision

Viewing changes to ocamldoc/odoc_ocamlhtml.mll

  • 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: odoc_ocamlhtml.mll 9125 2008-11-10 13:03:55Z guesdon $ *)
 
14
(* $Id: odoc_ocamlhtml.mll 9547 2010-01-22 12:48:24Z doligez $ *)
15
15
 
16
16
(** Generation of html code to display OCaml code. *)
17
17
open Lexing
342
342
  | "*)"
343
343
      { lexbuf.Lexing.lex_curr_pos <- lexbuf.Lexing.lex_curr_pos - 1;
344
344
        lexbuf.Lexing.lex_curr_p <-
345
 
          { lexbuf.Lexing.lex_curr_p with
346
 
            pos_cnum = lexbuf.Lexing.lex_curr_p.pos_cnum - 1
347
 
          } ;
 
345
          { lexbuf.Lexing.lex_curr_p with
 
346
            pos_cnum = lexbuf.Lexing.lex_curr_p.pos_cnum - 1
 
347
          } ;
348
348
        print (Lexing.lexeme lexbuf) ;
349
349
        token lexbuf
350
350
      }