xref: /csrg-svn/usr.bin/pascal/pdx/main.h (revision 5452)
1*5452Slinton /* Copyright (c) 1982 Regents of the University of California */
2*5452Slinton 
3*5452Slinton static char sccsid[] = "@(#)main.h 1.1 01/18/82";
4*5452Slinton 
5*5452Slinton /*
6*5452Slinton  * Definitions for main program.
7*5452Slinton  *
8*5452Slinton  * The main program just handles the command arguments and then
9*5452Slinton  * gives control to the command module.  It's also the center of
10*5452Slinton  * error recovery, since non-fatal errors longjmp into the main routine.
11*5452Slinton  */
12*5452Slinton 
13*5452Slinton BOOLEAN opt[26];	/* true if command line option given */
14*5452Slinton 
15*5452Slinton #define option(c)	opt[(c)-'a']
16*5452Slinton 
17*5452Slinton main();			/* debugger main routine */
18*5452Slinton init();			/* read in source and object data */
19*5452Slinton erecover();		/* does non-local goto for error recovery */
20