1
0

LEXSWI.C 359 B

1234567891011121314151617181920212223
  1. /*
  2. * lexswitch -- switch lex tables
  3. */
  4. /*
  5. * Bob Denny 28-Aug-82 Remove reference to stdio.h
  6. * Scott Guthery 20-Nov-83 Adapt for IBM PC & DeSmet C
  7. */
  8. #include <lex.h>
  9. extern struct lextab *_tabp;
  10. struct lextab *
  11. lexswitch(lp)
  12. struct lextab *lp;
  13. {
  14. register struct lextab *olp;
  15. olp = _tabp;
  16. _tabp = lp;
  17. return(olp);
  18. }