home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource2 / sclib_1 / 1_3 / v7n3104b.txt < prev    next >
Encoding:
Text File  |  1995-11-01  |  313 b   |  20 lines

  1. #define EMPTY -1
  2. #define stop  -1
  3. #define forbid -1
  4.  
  5. #ifdef DEBUG
  6. #define TRACE report(state,token)
  7. #else
  8. #define TRACE
  9. #endif
  10.  
  11. /* structure of a single transition specification */
  12. struct trans{
  13.    int nextstate;
  14.    void (*act)(void);
  15.    };
  16.  
  17. extern void report(void);
  18. extern void fault(void);
  19.  
  20.