/[bison]/bison/data/c.m4
ViewVC logotype

Diff of /bison/data/c.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by akim, Sun Oct 20 12:51:10 2002 UTC revision 1.13 by akim, Thu Oct 24 10:01:52 2002 UTC
# Line 65  m4_define([b4_ints_in], Line 65  m4_define([b4_ints_in],
65  # MIN to MAX (included).  # MIN to MAX (included).
66  m4_define([b4_int_type],  m4_define([b4_int_type],
67  [m4_if(b4_ints_in($@,      [0],   [255]), [1], [unsigned char],  [m4_if(b4_ints_in($@,      [0],   [255]), [1], [unsigned char],
68         b4_ints_in($@,   [-128],   [127]), [1], [yysigned_char],         b4_ints_in($@,   [-128],   [127]), [1], [signed char],
69    
70         b4_ints_in($@,      [0], [65535]), [1], [unsigned short],         b4_ints_in($@,      [0], [65535]), [1], [unsigned short],
71         b4_ints_in($@, [-32768], [32767]), [1], [short],         b4_ints_in($@, [-32768], [32767]), [1], [short],
# Line 74  m4_define([b4_int_type], Line 74  m4_define([b4_int_type],
74    
75                                                 [int])])                                                 [int])])
76    
77    
78  # b4_int_type_for(NAME)  # b4_int_type_for(NAME)
79  # ---------------------  # ---------------------
80  # Return the smallest int type able to handle numbers ranging from  # Return the smallest int type able to handle numbers ranging from

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26