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

« back to all changes in this revision

Viewing changes to byterun/int64_format.h

  • 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: int64_format.h 6021 2003-12-15 18:10:51Z doligez $ */
 
14
/* $Id: int64_format.h 9547 2010-01-22 12:48:24Z doligez $ */
15
15
 
16
16
/* printf-like formatting of 64-bit integers, in case the C library
17
17
   printf() function does not support them. */
49
49
      filler = '0'; break;
50
50
    case '#':
51
51
      alternate = 1; break;
52
 
    case '1': case '2': case '3': case '4': case '5': 
 
52
    case '1': case '2': case '3': case '4': case '5':
53
53
    case '6': case '7': case '8': case '9':
54
54
      width = atoi(p);
55
55
      while (*p >= '0' && *p <= '9') p++;