iasciitab.h 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. __ __ _
  3. ___\ \/ /_ __ __ _| |_
  4. / _ \\ /| '_ \ / _` | __|
  5. | __// \| |_) | (_| | |_
  6. \___/_/\_\ .__/ \__,_|\__|
  7. |_| XML parser
  8. Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
  9. Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net>
  10. Copyright (c) 2002 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
  11. Copyright (c) 2017 Sebastian Pipping <sebastian@pipping.org>
  12. Licensed under the MIT license:
  13. Permission is hereby granted, free of charge, to any person obtaining
  14. a copy of this software and associated documentation files (the
  15. "Software"), to deal in the Software without restriction, including
  16. without limitation the rights to use, copy, modify, merge, publish,
  17. distribute, sublicense, and/or sell copies of the Software, and to permit
  18. persons to whom the Software is furnished to do so, subject to the
  19. following conditions:
  20. The above copyright notice and this permission notice shall be included
  21. in all copies or substantial portions of the Software.
  22. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  23. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  24. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  25. NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  26. DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  27. OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  28. USE OR OTHER DEALINGS IN THE SOFTWARE.
  29. */
  30. /* Like asciitab.h, except that 0xD has code BT_S rather than BT_CR */
  31. /* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
  32. /* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
  33. /* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML,
  34. /* 0x0C */ BT_NONXML, BT_S, BT_NONXML, BT_NONXML,
  35. /* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
  36. /* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
  37. /* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
  38. /* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
  39. /* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM,
  40. /* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS,
  41. /* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS,
  42. /* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL,
  43. /* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
  44. /* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
  45. /* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI,
  46. /* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST,
  47. /* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
  48. /* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
  49. /* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  50. /* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  51. /* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  52. /* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  53. /* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB,
  54. /* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT,
  55. /* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
  56. /* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
  57. /* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  58. /* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  59. /* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  60. /* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
  61. /* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
  62. /* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER,