lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev YA patch, for compiling my patches w/o prettysrc support - sgml


From: Klaus Weide
Subject: lynx-dev YA patch, for compiling my patches w/o prettysrc support - sgml_junk_tag.diff
Date: Wed, 27 Oct 1999 06:02:09 -0500 (CDT)

SGML.c would not compile without --enable-prettysrc, reported by Henry.
This patch should fix it.  Thanks for trying, and bearing with me.

(Henry, if you *did* have --enable-prettysrc, then I am misunderstanding
the problem and this patch is no good...)

   Klaus


--- 2.15/WWW/Library/Implementation/SGML.c Mon, 25 Oct 1999 16:08:27 -0500
+++ 2.15(w)/WWW/Library/Implementation/SGML.c Wed, 27 Oct 1999 05:52:43 -0500
@@ -2127,10 +2127,10 @@
 #ifdef USE_PSRC
                if (psrc_view) {
                    PSRCSTART(abracket);PUTS("<?");PSRCSTOP(abracket);
+                   context->seen_nonwhite_in_junk_tag = TRUE; /* show all */
                }
 #endif
                context->state = S_junk_pi;
-               context->seen_nonwhite_in_junk_tag = TRUE; /* show all */
                break;
            }
        }
@@ -2982,10 +2982,10 @@
 #ifdef USE_PSRC
                    if (psrc_view) {
                        PSRCSTART(abracket);PUTS("<?");PSRCSTOP(abracket);
+                       context->seen_nonwhite_in_junk_tag = TRUE; /*show all*/
                    }
 #endif
                    context->state = S_junk_pi;
-                   context->seen_nonwhite_in_junk_tag = TRUE; /* show all */
                    break;
                }
                CTRACE((tfp, "SGML: *** Invalid element %s\n",


reply via email to

[Prev in Thread] Current Thread [Next in Thread]