syntax.h 611 B

1234567891011121314
  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. #endif //VIRTUALMATH_SYNTAX_H