summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-18 12:01:19 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-18 12:01:19 +0000
commit862f90359ce158a261692c35129db2e48ebdeaa6 (patch)
tree8e69b142c08856499e1178743db232d5ad4ad104 /Build/source/texk/web2c/cwebdir/ctang-w2c.ch
parent18ae8c479214dcd927acae90b8c755da4077bf9e (diff)
web2c/ctiedir, web2c/cwebdir: Avoid useless char subscript warnings
git-svn-id: svn://tug.org/texlive/trunk@34289 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/ctang-w2c.ch')
-rw-r--r--Build/source/texk/web2c/cwebdir/ctang-w2c.ch35
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ctang-w2c.ch b/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
index e1f507a5206..f1be29aacc5 100644
--- a/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
+++ b/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
@@ -122,6 +122,22 @@ Section 6.
#include <stdio.h>
@z
+@x common.h l.65
+@d xisalpha(c) (isalpha(c)&&((eight_bits)c<0200))
+@d xisdigit(c) (isdigit(c)&&((eight_bits)c<0200))
+@d xisspace(c) (isspace(c)&&((eight_bits)c<0200))
+@d xislower(c) (islower(c)&&((eight_bits)c<0200))
+@d xisupper(c) (isupper(c)&&((eight_bits)c<0200))
+@d xisxdigit(c) (isxdigit(c)&&((eight_bits)c<0200))
+@y
+@d xisalpha(c) (isalpha((eight_bits)c)&&((eight_bits)c<0200))
+@d xisdigit(c) (isdigit((eight_bits)c)&&((eight_bits)c<0200))
+@d xisspace(c) (isspace((eight_bits)c)&&((eight_bits)c<0200))
+@d xislower(c) (islower((eight_bits)c)&&((eight_bits)c<0200))
+@d xisupper(c) (isupper((eight_bits)c)&&((eight_bits)c<0200))
+@d xisxdigit(c) (isxdigit((eight_bits)c)&&((eight_bits)c<0200))
+@z
+
Section 9.
@x common.h l.109 - protos now all in cweb.h.
@@ -367,6 +383,12 @@ Section 63.
else compress(minus_gt);} break;
@z
+@x l.974
+ while (isalpha(*++loc) || isdigit(*loc) || isxalpha(*loc) || ishigh(*loc));
+@y
+ while (isalpha((unsigned char)*++loc) || isdigit((unsigned char)*loc) || isxalpha(*loc) || ishigh(*loc));
+@z
+
Section 76.
@x l.1200
@@ -388,6 +410,19 @@ Section 77.
app_repl(a_l % 0400);}
@z
+Section 82.
+
+@x l.1320
+ c=toupper(*id_first)-'A'+10;
+@y
+ c=toupper((unsigned char)*id_first)-'A'+10;
+@z
+@x l.1325
+ c=16*c+toupper(*id_first)-'A'+10;
+@y
+ c=16*c+toupper((unsigned char)*id_first)-'A'+10;
+@z
+
Section 83.
@x l.1358