xref: /original-bsd/usr.bin/pascal/src/CONFIG.c (revision 41f4043d)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)CONFIG.c	8.1 (Berkeley) 06/06/93";
10 #endif /* not lint */
11 
12     /*
13      *	make sure you are editing
14      *		CONFIG.c
15      *	editing config.c won't work
16      */
17 
18     /*
19      *	the version of translator
20      */
21 char	*version = "VERSION (DATE)";
22 
23     /*
24      *	the location of the error strings
25      *	and the length of the path to it
26      *	(in case of execution as a.something)
27      */
28 char	*err_file = "LIBDATA/ERRORSTRINGS";
29 int	err_pathlen = sizeof("LIBDATA/")-1;
30 
31     /*
32      *	the location of the short explanation
33      *	and the length of the path to it
34      *	the null at the end is so pix can change it to pi'x' from pi.
35      */
36 char	how_string[] = "LIBDATA/HOWFILE\0";
37 char	*how_file = how_string;
38 int	how_pathlen = sizeof("LIBDATA/")-1;
39 
40     /*
41      *	things about the interpreter.
42      *	these are not used by the compiler.
43      */
44 #ifndef PC
45 char	*px_header = "LIBEXEC/px_header";	/* px_header's name */
46 #endif
47 
48 #ifndef PXP
49 char	*pi_comp = "INSTALLDIR/pi";		/* the compiler's name */
50 char	*px_intrp = "INSTALLDIR/px";		/* the interpreter's name */
51 char	*px_debug = "INSTALLDIR/pdx";		/* the debugger's name */
52 #endif
53