input.h 595 B

1234567891011121314151617181920
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #ifndef LANG_CEM_CEMCOM_ANSI_INPUT_H
  7. #define LANG_CEM_CEMCOM_ANSI_INPUT_H
  8. #define INP_PUSHBACK 3
  9. #include <inp_pkg.spec>
  10. /* Note: The following macro only garuantees one PushBack.
  11. */
  12. #define UnGetChar() ((LexSave != EOI) ? ChPushBack(LexSave) : 0)
  13. extern int LexSave; /* last character read by GetChar */
  14. extern int GetChar(); /* character input, with trigraph parsing */
  15. #endif /* LANG_CEM_CEMCOM_ANSI_INPUT_H */