1202719Sgabor/*	$FreeBSD$						*/
2202719Sgabor/*      $OpenBSD: extern.h,v 1.6 2006/03/18 20:44:43 otto Exp $	*/
3202719Sgabor
4202719Sgabor/*
5202719Sgabor * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
6202719Sgabor *
7202719Sgabor * Permission to use, copy, modify, and distribute this software for any
8202719Sgabor * purpose with or without fee is hereby granted, provided that the above
9202719Sgabor * copyright notice and this permission notice appear in all copies.
10202719Sgabor *
11202719Sgabor * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12202719Sgabor * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13202719Sgabor * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14202719Sgabor * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15202719Sgabor * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16202719Sgabor * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17202719Sgabor * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18202719Sgabor */
19202719Sgabor
20202719Sgabor#include <stdio.h>
21202719Sgabor
22202719Sgaborstruct lvalue {
23202719Sgabor	ssize_t	 load;
24202719Sgabor	ssize_t	 store;
25202719Sgabor};
26202719Sgabor
27202719Sgaborint			 yylex(void);
28202719Sgaborvoid			 yyerror(const char *);
29202719Sgaborvoid			 fatal(const char *);
30202719Sgaborvoid			 abort_line(int);
31202719Sgabor
32202719Sgaborextern int		 lineno;
33202719Sgaborextern int		 fileindex;
34202719Sgaborextern int		 sargc;
35202719Sgaborextern const char	**sargv;
36202719Sgaborextern const char	*filename;
37202719Sgaborextern char		*cmdexpr;
38203498Sdelphijextern bool		 interactive;
39203498Sdelphijextern EditLine		*el;
40203498Sdelphijextern History		*hist;
41203498Sdelphijextern HistEvent	 he;
42203498Sdelphij
43