зеркало из https://github.com/mozilla/pjs.git
62 строки
1.2 KiB
C
62 строки
1.2 KiB
C
/*
|
|
The contents of this file are subject to the Mozilla Public License
|
|
Version 1.0 (the "License"); you may not use this file except in
|
|
compliance with the License. You may obtain a copy of the License at
|
|
http://www.mozilla.org/MPL/
|
|
|
|
Software distributed under the License is distributed on an "AS IS"
|
|
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
License for the specific language governing rights and limitations
|
|
under the License.
|
|
|
|
The Original Code is expat.
|
|
|
|
The Initial Developer of the Original Code is James Clark.
|
|
Portions created by James Clark are Copyright (C) 1998
|
|
James Clark. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
*/
|
|
|
|
enum {
|
|
BT_NONXML,
|
|
BT_MALFORM,
|
|
BT_LT,
|
|
BT_AMP,
|
|
BT_RSQB,
|
|
BT_LEAD2,
|
|
BT_LEAD3,
|
|
BT_LEAD4,
|
|
BT_TRAIL,
|
|
BT_CR,
|
|
BT_LF,
|
|
BT_GT,
|
|
BT_QUOT,
|
|
BT_APOS,
|
|
BT_EQUALS,
|
|
BT_QUEST,
|
|
BT_EXCL,
|
|
BT_SOL,
|
|
BT_SEMI,
|
|
BT_NUM,
|
|
BT_LSQB,
|
|
BT_S,
|
|
BT_NMSTRT,
|
|
BT_COLON,
|
|
BT_HEX,
|
|
BT_DIGIT,
|
|
BT_NAME,
|
|
BT_MINUS,
|
|
BT_OTHER, /* known not to be a name or name start character */
|
|
BT_NONASCII, /* might be a name or name start character */
|
|
BT_PERCNT,
|
|
BT_LPAR,
|
|
BT_RPAR,
|
|
BT_AST,
|
|
BT_PLUS,
|
|
BT_COMMA,
|
|
BT_VERBAR
|
|
};
|
|
|
|
#include <stddef.h>
|