Windows NT 4.0 source code leak
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.

77 lines
1.8 KiB

4 years ago
  1. #ifndef __DBENTRY_DEFINED__
  2. #define __DBENTRY_DEFINED__
  3. #define EXPECTED_CHAR (1)
  4. #define EXPECTED_CONSTRUCT (2)
  5. typedef struct _dbentry {
  6. short fExpected;
  7. short State;
  8. char * pExpected;
  9. } DBERR;
  10. #endif /*__DBENTRY_DEFINED__*/
  11. #define ACF_MAX_DB_ENTRIES 57
  12. char * GetExpectedSyntax( short );
  13. DBERR ACF_SyntaxErrorDB[ ACF_MAX_DB_ENTRIES ] = {
  14. { 2, 1, " the end of file"}
  15. ,{ 1, 2, "{"}
  16. ,{ 2, 3, " the keyword \"interface\""}
  17. ,{ 2, 5, " acf interface attributes"}
  18. ,{ 2, 7, " an acf interface name"}
  19. ,{ 1, 8, "]"}
  20. ,{ 2, 8, " an acf interface attribute"}
  21. ,{ 1, 19, "("}
  22. ,{ 1, 27, "("}
  23. ,{ 1, 33, "("}
  24. ,{ 1, 34, "("}
  25. ,{ 1, 35, "("}
  26. ,{ 1, 36, "("}
  27. ,{ 1, 37, "("}
  28. ,{ 1, 38, "}"}
  29. ,{ 1, 41, ";"}
  30. ,{ 1, 42, ";"}
  31. ,{ 1, 43, ";"}
  32. ,{ 2, 44, " list of include file name strings"}
  33. ,{ 2, 46, " an identifier"}
  34. ,{ 2, 48, " acf operation attributes"}
  35. ,{ 2, 54, " allocation unit specifications"}
  36. ,{ 2, 55, " pointer size specification"}
  37. ,{ 2, 56, " a number"}
  38. ,{ 2, 57, " a number"}
  39. ,{ 2, 58, " a number"}
  40. ,{ 2, 59, " a number"}
  41. ,{ 2, 60, " an end of file"}
  42. ,{ 2, 68, " a type name"}
  43. ,{ 2, 69, " acf type attributes"}
  44. ,{ 1, 71, "]"}
  45. ,{ 2, 71, " an acf operation attribute"}
  46. ,{ 1, 79, ")"}
  47. ,{ 2, 80, " handle type specifications"}
  48. ,{ 1, 82, ")"}
  49. ,{ 1, 82, ","}
  50. ,{ 1, 85, ")"}
  51. ,{ 1, 89, ")"}
  52. ,{ 1, 90, ")"}
  53. ,{ 1, 91, ")"}
  54. ,{ 1, 92, ")"}
  55. ,{ 1, 96, "]"}
  56. ,{ 2, 96, " an acf type attribute"}
  57. ,{ 1, 103, "("}
  58. ,{ 1, 108, "("}
  59. ,{ 2, 112, " an identifier"}
  60. ,{ 2, 116, " allocation unit specifications"}
  61. ,{ 2, 124, " represent type specification"}
  62. ,{ 1, 128, ")"}
  63. ,{ 1, 130, ")"}
  64. ,{ 2, 133, " an identifier"}
  65. ,{ 2, 135, " acf parameter attributes"}
  66. ,{ 1, 140, "]"}
  67. ,{ 2, 140, " an acf parameter attribute"}
  68. ,{ 1, 148, "("}
  69. ,{ 2, 152, " an identifier"}
  70. ,{ 1, 153, ")"}
  71. };