summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2002-10-14 08:06:33 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2002-10-14 08:06:33 +0000
commit22a00a0cd2ec99009f439944e71d9f44f29c36ff (patch)
tree01a53c00a89b5a423214284700b449c8d923b15c
parent768eb43fe816c1617e13833df3b6dfd22f632fc4 (diff)
downloadbison-22a00a0cd2ec99009f439944e71d9f44f29c36ff.tar.gz
(b4_int_type): Use yysigned_char instead of signed char,
for portability to K&R hosts. Fix typo: signed char is guaranteed only to 127, not to 128.
-rw-r--r--data/c.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/data/c.m4 b/data/c.m4
index 417ccd21..a60c2d8f 100644
--- a/data/c.m4
+++ b/data/c.m4
@@ -65,7 +65,7 @@ m4_define([b4_ints_in],
# MIN to MAX (included).
m4_define([b4_int_type],
[m4_if(b4_ints_in($@, [0], [255]), [1], [unsigned char],
- b4_ints_in($@, [-128], [128]), [1], [signed char],
+ b4_ints_in($@, [-128], [127]), [1], [yysigned_char],
b4_ints_in($@, [0], [65535]), [1], [unsigned short],
b4_ints_in($@, [-32768], [32767]), [1], [short],