Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
998 B

  1. //
  2. // Access to charmap functions
  3. //
  4. #define OPERATORMSK 0x80 // Is this character the startof an operator
  5. #define LX_OPERATOR 0x80
  6. #define IS_OPERATORCHAR(c) ((Charmap[(UCHAR)(c)] & OPERATORMSK) != 0)
  7. #define MACROMSK 0x01 // Is this character a valid macro character
  8. #define LX_MACRO 0x01
  9. #define IS_MACROCHAR(c) ((Charmap[(UCHAR)(c)] & MACROMSK) != 0)
  10. #define LX_EOS 0x00
  11. #define LX_ILL 0x00
  12. #define LX_WHITE 0x00
  13. #define LX_NL 0x00
  14. #define LX_CR 0x00
  15. #define LX_DQUOTE 0x00
  16. #define LX_POUND 0x00
  17. #define LX_ASCII 0x00
  18. #define LX_SQUOTE 0x00
  19. #define LX_COMMA 0x00
  20. #define LX_MINUS 0x00
  21. #define LX_DOT 0x00
  22. #define LX_NUMBER 0x00
  23. #define LX_COLON 0x00
  24. #define LX_SEMI 0x00
  25. #define LX_EACH 0x00
  26. #define LX_ID 0x00
  27. #define LX_OBRACK 0x00
  28. #define LX_CBRACK 0x00
  29. #define LX_OBRACE 0x00
  30. #define LX_CBRACE 0x00
  31. #define CHARMAP_SIZE 256
  32. extern UCHAR Charmap[CHARMAP_SIZE];