home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OS2-YACC.ZIP / Y3.H < prev    next >
C/C++ Source or Header  |  1989-09-30  |  2KB  |  45 lines

  1. /*
  2.   HEADER: CUG     nnn.nn;
  3.   TITLE:     YACC - Yet Another Compilier-Compilier
  4.   VERSION:     1.0 for IBM-PC
  5.   DATE:      JAN 28, 1985
  6.   DESCRIPTION:     LALR(1) Parser Generator. From UNIX
  7.   KEYWORDS:     Parser Generator Compilier-Compilier YACC
  8.   SYSTEM:     IBM-PC and Compatiables
  9.   FILENAME:      Y3.H
  10.   WARNINGS:     This program is not for the casual user. It will
  11.          be useful primarily to expert developers.
  12.   CRC:         N/A
  13.   SEE-ALSO:     LEX and PREP
  14.   AUTHORS:     Scott Guthery 11100 leafwood lane Austin, TX 78750
  15.   COMPILERS:     DESMET-C
  16.   REFERENCES:     UNIX Systems Manuals
  17. */
  18.  
  19. /********************************************************************************/
  20. /*                              *************                                   */
  21. /*                              *  Y 3 . H  *                                   */
  22. /*                              *************                                   */
  23. /*                                                                              */
  24. /*  This file contains the external declarations needed to hook Yacc modules    */
  25. /* which were originally in Y3.C to their impure data in Y3IMP.3C. Also does    */
  26. /* the include of the original data/external file DTXTRN.H.                     */
  27. /*                                                                              */
  28. /********************************************************************************/
  29.  
  30. # include "dtxtrn.h"
  31.  
  32. extern int lastred;             /* the number of the last reduction of a state */
  33.  
  34. void output( void );
  35. void go2out( void );
  36. void hideprod( void );
  37. void warray( char *, int *, int );
  38. int apack( int *, int );
  39. void go2gen( int );
  40. void precftn( int, int, int );
  41. void wract( int );
  42. void wrstate( int );
  43. void wdef( char *, int );
  44.  
  45.