From 0a40843bde34eb68430efd6199b3f94972558cf0 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Tue, 12 Nov 2002 21:49:36 +0000 Subject: [PATCH] Remove trailing whitespace. --- expat/lib/ascii.h | 2 +- expat/lib/xmlrole.h | 2 +- expat/lib/xmltok.c | 14 +++++++------- expat/lib/xmltok.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/expat/lib/ascii.h b/expat/lib/ascii.h index 073e8a5f..337e5bb7 100644 --- a/expat/lib/ascii.h +++ b/expat/lib/ascii.h @@ -68,7 +68,7 @@ #define ASCII_9 0x39 #define ASCII_TAB 0x09 -#define ASCII_SPACE 0x20 +#define ASCII_SPACE 0x20 #define ASCII_EXCL 0x21 #define ASCII_QUOT 0x22 #define ASCII_AMP 0x26 diff --git a/expat/lib/xmlrole.h b/expat/lib/xmlrole.h index 0e547625..4dd9f06f 100644 --- a/expat/lib/xmlrole.h +++ b/expat/lib/xmlrole.h @@ -8,7 +8,7 @@ #ifdef __VMS /* 0 1 2 3 0 1 2 3 1234567890123456789012345678901 1234567890123456789012345678901 */ -#define XmlPrologStateInitExternalEntity XmlPrologStateInitExternalEnt +#define XmlPrologStateInitExternalEntity XmlPrologStateInitExternalEnt #endif #include "xmltok.h" diff --git a/expat/lib/xmltok.c b/expat/lib/xmltok.c index 95b67915..87051f97 100644 --- a/expat/lib/xmltok.c +++ b/expat/lib/xmltok.c @@ -678,7 +678,7 @@ little2_isNmstrtMin(const ENCODING *enc, const char *p) #define MINBPC(enc) 2 /* CHAR_MATCHES is guaranteed to have MINBPC bytes available. */ #define BYTE_TYPE(enc, p) LITTLE2_BYTE_TYPE(enc, p) -#define BYTE_TO_ASCII(enc, p) LITTLE2_BYTE_TO_ASCII(enc, p) +#define BYTE_TO_ASCII(enc, p) LITTLE2_BYTE_TO_ASCII(enc, p) #define CHAR_MATCHES(enc, p, c) LITTLE2_CHAR_MATCHES(enc, p, c) #define IS_NAME_CHAR(enc, p, n) 0 #define IS_NAME_CHAR_MINBPC(enc, p) LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) @@ -701,7 +701,7 @@ little2_isNmstrtMin(const ENCODING *enc, const char *p) #ifdef XML_NS -static const struct normal_encoding little2_encoding_ns = { +static const struct normal_encoding little2_encoding_ns = { { VTABLE, 2, 0, #if BYTEORDER == 1234 1 @@ -718,7 +718,7 @@ static const struct normal_encoding little2_encoding_ns = { #endif -static const struct normal_encoding little2_encoding = { +static const struct normal_encoding little2_encoding = { { VTABLE, 2, 0, #if BYTEORDER == 1234 1 @@ -739,7 +739,7 @@ static const struct normal_encoding little2_encoding = { #ifdef XML_NS -static const struct normal_encoding internal_little2_encoding_ns = { +static const struct normal_encoding internal_little2_encoding_ns = { { VTABLE, 2, 0, 1 }, { #include "iasciitab.h" @@ -750,7 +750,7 @@ static const struct normal_encoding internal_little2_encoding_ns = { #endif -static const struct normal_encoding internal_little2_encoding = { +static const struct normal_encoding internal_little2_encoding = { { VTABLE, 2, 0, 1 }, { #define BT_COLON BT_NMSTRT @@ -817,7 +817,7 @@ big2_isNmstrtMin(const ENCODING *enc, const char *p) #define MINBPC(enc) 2 /* CHAR_MATCHES is guaranteed to have MINBPC bytes available. */ #define BYTE_TYPE(enc, p) BIG2_BYTE_TYPE(enc, p) -#define BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(enc, p) +#define BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(enc, p) #define CHAR_MATCHES(enc, p, c) BIG2_CHAR_MATCHES(enc, p, c) #define IS_NAME_CHAR(enc, p, n) 0 #define IS_NAME_CHAR_MINBPC(enc, p) BIG2_IS_NAME_CHAR_MINBPC(enc, p) @@ -948,7 +948,7 @@ isSpace(int c) case 0x20: case 0xD: case 0xA: - case 0x9: + case 0x9: return 1; } return 0; diff --git a/expat/lib/xmltok.h b/expat/lib/xmltok.h index 6f648d70..81a16bed 100644 --- a/expat/lib/xmltok.h +++ b/expat/lib/xmltok.h @@ -17,7 +17,7 @@ extern "C" { */ #define XML_TOK_NONE -4 /* The string to be scanned is empty */ #define XML_TOK_TRAILING_CR -3 /* A CR at the end of the scan; - might be part of CRLF sequence */ + might be part of CRLF sequence */ #define XML_TOK_PARTIAL_CHAR -2 /* only part of a multibyte sequence */ #define XML_TOK_PARTIAL -1 /* only part of a token */ #define XML_TOK_INVALID 0 -- 2.40.0