home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
OS2-YACC.ZIP
/
SYSTEM.H
< prev
next >
Wrap
Text File
|
1989-10-04
|
2KB
|
75 lines
/*
HEADER: CUG nnn.nn;
TITLE: YACC - Yet Another Compilier-Compilier
VERSION: 1.0 for IBM-PC
DATE: JAN 28, 1985
DESCRIPTION: LALR(1) Parser Generator. From UNIX
KEYWORDS: Parser Generator Compilier-Compilier YACC
SYSTEM: IBM-PC and Compatiables
FILENAME: SYSTEM.H
WARNINGS: This program is not for the casual user. It will
be useful primarily to expert developers.
CRC: N/A
SEE-ALSO: LEX and PREP
AUTHORS: Scott Guthery 11100 leafwood lane Austin, TX 78750
COMPILERS: DESMET-C
REFERENCES: UNIX Systems Manuals
*/
/* *********************
* * S Y S T E M . H *
* *********************
*
* This file replaces the original "files." header file. It defines, for
* the IBM PC/XT version, the target parser function source file, overriding
* file name string defines, and other system-specific definitions and
* parameters.
*
* Bob Denny 06-Dec-80
*
* Edits:
* 18-Dec-80 ZAPFILE no longer used in Decus Yacc.
* Parser file renamed yypars.c
*
* 28-Aug-81 Temp files for RSX have specific version
* numbers of 1 to avoid multi-versions. Rename
* parser info file ".i".
*
* 12-Apr-83 Add FNAMESIZE & EX_xxx parameters.
*
*Scott Guthery 23-Dec-83 Adapt for the IBM PC/XT & DeSmet C compiler.
*
*/
/* Define WORD32 if target machine is a 32 bitter */
/*
* Target parser source file
*/
# define PARSER "yypars.c"
/*
* basic size of the Yacc implementation
*/
# define MEDIUM
/*
* Table size for this Yacc
*/
# define HUGETAB YES
/*
* Filespec definitions
*/
# define ACTNAME "yacc2.tmp"
# define TEMPNAME "yacc1.tmp"
# define FNAMESIZE 24
/*
* Exit status values
*/
#define EX_SUC 0
#define EX_WAR 1
#define EX_ERR 2
#define EX_SEV 4