home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d01xx / d0105.lha / Bison / files.h < prev    next >
C/C++ Source or Header  |  1987-10-25  |  3KB  |  55 lines

  1. /* File names and variables for bison,
  2.    copyright (C) 1984 Bob Corbett and Richard Stallman
  3.  
  4.    Permission is granted to anyone to make or distribute verbatim copies of this program
  5.    provided that the copyright notice and this permission notice are preserved;
  6.    and provided that the recipient is not asked to waive or limit his right to
  7.    redistribute copies as permitted by this permission notice;
  8.    and provided that anyone possessing an executable copy
  9.    is granted access to copy the source code, in machine-readable form,
  10.    in some reasonable manner.
  11.  
  12.    Permission is granted to distribute derived works or enhanced versions of
  13.    this program under the above conditions with the additional condition
  14.    that the entire derivative or enhanced work
  15.    must be covered by a permission notice identical to this one.
  16.  
  17.    Anything distributed as part of a package containing portions derived
  18.    from this program, which cannot in current practice perform its function usefully
  19.    in the absense of what was derived directly from this program,
  20.    is to be considered as forming, together with the latter,
  21.    a single work derived from this program,
  22.    which must be entirely covered by a permission notice identical to this one
  23.    in order for distribution of the package to be permitted.
  24.  
  25.  In other words, you are welcome to use, share and improve this program.
  26.  You are forbidden to forbid anyone else to use, share and improve
  27.  what you give them.   Help stamp out software-hoarding!  */
  28.  
  29. /* These two should be pathnames for opening the sample parser files.
  30.    When bison is installed, they should be absolute pathnames.  */
  31.  
  32. #define PFILE    "parser"
  33. #define PFILE1    "simparser"
  34.  
  35. extern FILE *finput;   /* read grammar specifications */
  36. extern FILE *foutput;  /* optionally output messages describing the actions taken */
  37. extern FILE *fdefines; /* optionally output #define's for token numbers. */
  38. extern FILE *ftable;   /* output the tables and the parser */
  39. extern FILE *fattrs;   /* if semantic parser, output a .h file that defines YYSTYPE */
  40.                /* and also contains all the %{ ... %} definitions.  */
  41. extern FILE *fguard;   /* if semantic parser, output yyguard, containing all the guard code */
  42. extern FILE *faction;  /* output all the action code; precise form depends on which parser */
  43. extern FILE *fparser;  /* read the semantic parser to copy into ftable */
  44. extern FILE *fparser1; /* read the simple parser to copy into ftable */
  45.  
  46. extern char *infile;
  47. extern char *outfile;
  48. extern char *defsfile;
  49. extern char *tabfile;
  50. extern char *attrsfile;
  51. extern char *guardfile;
  52. extern char *actfile;
  53. extern char *pfile;
  54. extern char *pfile1;
  55.