home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / fileutil / scan.lha / src / lexswitch.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-21  |  436 b   |  25 lines

  1. /*
  2.  * lexswitch -- switch lex tables
  3.  */
  4.  
  5. /*
  6.  * Bob Denny     28-Aug-82  Remove reference to stdio.h
  7.  * Scott Guthery 20-Nov-83    Adapt for IBM PC & DeSmet C
  8.  * William Lee   28-Dec-86  Adapt for the Commodore-Amiga 1000 and Lattice C
  9.  */
  10.  
  11. #include "lex.h"
  12.  
  13. extern struct lextab *_tabp;
  14.  
  15. struct lextab *
  16. lexswitch(lp)
  17. struct lextab *lp;
  18. {
  19.         register struct lextab *olp;
  20.  
  21.         olp = _tabp;
  22.         _tabp = lp;
  23.         return(olp);
  24. }
  25.