summaryrefslogtreecommitdiffstats
path: root/usr.bin/sgmls/sgmls/pars2.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sgmls/sgmls/pars2.c')
-rw-r--r--usr.bin/sgmls/sgmls/pars2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sgmls/sgmls/pars2.c b/usr.bin/sgmls/sgmls/pars2.c
index 8c97ec6..cc4c4ec 100644
--- a/usr.bin/sgmls/sgmls/pars2.c
+++ b/usr.bin/sgmls/sgmls/pars2.c
@@ -172,10 +172,10 @@ int ch;
change the entity, since the entity might be referenced again.
So in this case we copy the entity. This is inefficient, but
it will only happen in a case like this:
-
+
<!entity % amp "&">
<!entity e "x%amp;#SPACE;">
-
+
Usually character references will have been processed while the
entity was being defined. */
if (*FPOS != ch) {
@@ -852,7 +852,7 @@ int parmlen;
{
int skip = (pcblitt.newstate == 0);
int i;
-
+
for (i = 0; parmlen >= 0 && i < datalen; i++) {
switch (data[i]) {
case RSCHAR:
OpenPOWER on IntegriCloud