зеркало из https://github.com/mozilla/pjs.git
Code cleanup, not part of build, needed for SUN Workshop compilers
This commit is contained in:
Родитель
b5f24cc0ac
Коммит
1fe51e90e9
|
@ -190,15 +190,12 @@ literals, comments and processing instructions.
|
|||
|
||||
#define XmlPrologTok(enc, ptr, end, nextTokPtr) \
|
||||
(((enc)->scanners[XML_PROLOG_STATE]) (enc, ptr, end, nextTokPtr))
|
||||
// XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr)
|
||||
|
||||
#define XmlContentTok(enc, ptr, end, nextTokPtr) \
|
||||
(((enc)->scanners[XML_CONTENT_STATE]) (enc, ptr, end, nextTokPtr))
|
||||
// XmlTok(enc, XML_CONTENT_STATE, ptr, end, nextTokPtr)
|
||||
|
||||
#define XmlCdataSectionTok(enc, ptr, end, nextTokPtr) \
|
||||
(((enc)->scanners[XML_CDATA_SECTION_STATE]) (enc, ptr, end, nextTokPtr))
|
||||
// XmlTok(enc, XML_CDATA_SECTION_STATE, ptr, end, nextTokPtr)
|
||||
|
||||
/* This is used for performing a 2nd-level tokenization on
|
||||
the content of a literal that has already been returned by XmlTok. */
|
||||
|
@ -208,11 +205,9 @@ the content of a literal that has already been returned by XmlTok. */
|
|||
|
||||
#define XmlAttributeValueTok(enc, ptr, end, nextTokPtr) \
|
||||
(((enc)->literalScanners[XML_ATTRIBUTE_VALUE_LITERAL])(enc, ptr, end, nextTokPtr))
|
||||
// XmlLiteralTok(enc, XML_ATTRIBUTE_VALUE_LITERAL, ptr, end, nextTokPtr)
|
||||
|
||||
#define XmlEntityValueTok(enc, ptr, end, nextTokPtr) \
|
||||
(((enc)->literalScanners[XML_ENTITY_VALUE_LITERAL])(enc, ptr, end, nextTokPtr))
|
||||
// XmlLiteralTok(enc, XML_ENTITY_VALUE_LITERAL, ptr, end, nextTokPtr)
|
||||
|
||||
#define XmlSameName(enc, ptr1, ptr2) (((enc)->sameName)(enc, ptr1, ptr2))
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ INCLUDES += -I$(srcdir) -I$(srcdir)/../base -I$(srcdir)/../net \
|
|||
-I$(srcdir)/../xml/parser -I$(srcdir)/../xml/parser/xmlparse \
|
||||
-I$(srcdir)/../xml/printer -I$(srcdir)/../xpath -I$(srcdir)/../xslt/util \
|
||||
-I$(srcdir)/../xslt/functions
|
||||
COMPILE_CXXFLAGS += -D__cplusplus
|
||||
ifdef MOZ_XSL
|
||||
DEFINES += -DMOZILLA
|
||||
endif
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* Keith Visco, kvisco@ziplink.net
|
||||
* -- original author.
|
||||
*
|
||||
* $Id: XSLTProcessor.h,v 1.8 2000-06-11 16:54:54 Peter.VanderBeken%pandora.be Exp $
|
||||
* $Id: XSLTProcessor.h,v 1.9 2000-06-13 12:10:09 axel%pike.org Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
/**
|
||||
* A class for Processing XSL Stylesheets
|
||||
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
|
||||
* @version $Revision: 1.8 $ $Date: 2000-06-11 16:54:54 $
|
||||
* @version $Revision: 1.9 $ $Date: 2000-06-13 12:10:09 $
|
||||
**/
|
||||
class XSLTProcessor
|
||||
#ifdef MOZILLA
|
||||
|
@ -392,7 +392,7 @@ public:
|
|||
WHEN,
|
||||
WITH_PARAM,
|
||||
MESSAGE,
|
||||
EXPR_DEBUG, // temporary, used for debugging
|
||||
EXPR_DEBUG // temporary, used for debugging
|
||||
};
|
||||
|
||||
XSLType(const XSLType& xslType);
|
||||
|
|
Загрузка…
Ссылка в новой задаче