From 04bfd1b289a92de43eb4f3127c68007250281a5d Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Wed, 19 Apr 2000 09:04:46 +0000 Subject: [PATCH] backing out for now; I'll retry tomorrow --- htmlparser/src/COtherDTD.cpp | 4 +++- htmlparser/src/nsParser.cpp | 2 +- parser/htmlparser/src/COtherDTD.cpp | 4 +++- parser/htmlparser/src/nsParser.cpp | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/htmlparser/src/COtherDTD.cpp b/htmlparser/src/COtherDTD.cpp index cfc87bf67bd..d1b10884eef 100644 --- a/htmlparser/src/COtherDTD.cpp +++ b/htmlparser/src/COtherDTD.cpp @@ -1,4 +1,4 @@ - +#if 0 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * The contents of this file are subject to the Netscape Public @@ -2032,3 +2032,5 @@ nsresult COtherDTD::WillInterruptParse(void){ return result; } + +#endif \ No newline at end of file diff --git a/htmlparser/src/nsParser.cpp b/htmlparser/src/nsParser.cpp index fd4c6e3fcac..5fd3a62aa52 100644 --- a/htmlparser/src/nsParser.cpp +++ b/htmlparser/src/nsParser.cpp @@ -97,7 +97,7 @@ public: nsIDTD* theDTD; NS_NewNavHTMLDTD(&theDTD); //do this as a default HTML DTD... mDTDDeque.Push(theDTD); -#if 1 +#if 0 NS_NewOtherHTMLDTD(&theDTD); //do this as the default DTD for strict documents... mDTDDeque.Push(theDTD); #endif diff --git a/parser/htmlparser/src/COtherDTD.cpp b/parser/htmlparser/src/COtherDTD.cpp index cfc87bf67bd..d1b10884eef 100644 --- a/parser/htmlparser/src/COtherDTD.cpp +++ b/parser/htmlparser/src/COtherDTD.cpp @@ -1,4 +1,4 @@ - +#if 0 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * The contents of this file are subject to the Netscape Public @@ -2032,3 +2032,5 @@ nsresult COtherDTD::WillInterruptParse(void){ return result; } + +#endif \ No newline at end of file diff --git a/parser/htmlparser/src/nsParser.cpp b/parser/htmlparser/src/nsParser.cpp index fd4c6e3fcac..5fd3a62aa52 100644 --- a/parser/htmlparser/src/nsParser.cpp +++ b/parser/htmlparser/src/nsParser.cpp @@ -97,7 +97,7 @@ public: nsIDTD* theDTD; NS_NewNavHTMLDTD(&theDTD); //do this as a default HTML DTD... mDTDDeque.Push(theDTD); -#if 1 +#if 0 NS_NewOtherHTMLDTD(&theDTD); //do this as the default DTD for strict documents... mDTDDeque.Push(theDTD); #endif