home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / online / source / c / compilers / Bison.sit.hqx / Bison / Source / files.h < prev    next >
Text File  |  1992-08-21  |  2KB  |  60 lines

  1. /***********************************************************
  2.  *
  3.  * Macintosh/MPW version of GNU Bison 1.18
  4.  * Please read the README_MPW file for more information
  5.  *
  6.  ***********************************************************/
  7.  
  8. /* File names and variables for bison,
  9.    Copyright (C) 1984, 1989 Free Software Foundation, Inc.
  10.  
  11. This file is part of Bison, the GNU Compiler Compiler.
  12.  
  13. Bison is free software; you can redistribute it and/or modify
  14. it under the terms of the GNU General Public License as published by
  15. the Free Software Foundation; either version 2, or (at your option)
  16. any later version.
  17.  
  18. Bison is distributed in the hope that it will be useful,
  19. but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  21. GNU General Public License for more details.
  22.  
  23. You should have received a copy of the GNU General Public License
  24. along with Bison; see the file COPYING.  If not, write to
  25. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  26.  
  27.  
  28. /* These two should be pathnames for opening the sample parser files.
  29.    When bison is installed, they should be absolute pathnames.
  30.    XPFILE1 and XPFILE2 normally come from the Makefile.  */
  31.  
  32. #define PFILE    XPFILE        /* Simple parser */
  33. #define PFILE1    XPFILE1        /* Semantic parser */
  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 parser to copy into ftable */
  44.  
  45. /* File name specified with -o for the output file, or 0 if no -o.  */
  46. extern char *spec_outfile;
  47.  
  48. extern char *spec_name_prefix; /* for -a, from getargs.c */
  49.  
  50. /* File name pfx specified with -b, or 0 if no -b.  */
  51. extern char *spec_file_prefix;
  52.  
  53. extern char *infile;
  54. extern char *outfile;
  55. extern char *defsfile;
  56. extern char *tabfile;
  57. extern char *attrsfile;
  58. extern char *guardfile;
  59. extern char *actfile;
  60.