syntax.h 705 B

12345678910111213141516
  1. #ifndef VIRTUALMATH_SYNTAX_H
  2. #define VIRTUALMATH_SYNTAX_H
  3. #define strMatherMacro(n, word) strMather(p, mathers->mathers[n], word) /*这个宏只能用于getMatherStatus*/
  4. #define charMatherMacro(n, word) charMather(p, mathers->mathers[n], word) /*这个宏只能用于getMatherStatus*/
  5. void numberMather(int p, LexMather *mather);
  6. void varMather(int p, LexMather *mather);
  7. void stringMather(int p, LexMather *mather);
  8. void strMather(int p, LexMather *mather, const char *dest_p);
  9. void charMather(int p, LexMather *mather, int dest_p);
  10. void spaceMather(int p, LexMather *mather);
  11. void commentMather(int p, LexMather *mather);
  12. void backslashMather(int p, LexMather *mather);
  13. #endif //VIRTUALMATH_SYNTAX_H