11590Srgrimes/*
21590Srgrimes * Copyright (c) 1980, 1993
31590Srgrimes *	The Regents of the University of California.  All rights reserved.
41590Srgrimes *
51590Srgrimes *
61590Srgrimes * Redistribution and use in source and binary forms, with or without
71590Srgrimes * modification, are permitted provided that the following conditions
81590Srgrimes * are met:
91590Srgrimes * 1. Redistributions of source code must retain the above copyright
101590Srgrimes *    notice, this list of conditions and the following disclaimer.
111590Srgrimes * 2. Redistributions in binary form must reproduce the above copyright
121590Srgrimes *    notice, this list of conditions and the following disclaimer in the
131590Srgrimes *    documentation and/or other materials provided with the distribution.
141590Srgrimes * 4. Neither the name of the University nor the names of its contributors
151590Srgrimes *    may be used to endorse or promote products derived from this software
161590Srgrimes *    without specific prior written permission.
171590Srgrimes *
181590Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
191590Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
201590Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
211590Srgrimes * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
221590Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
231590Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
241590Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
251590Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
261590Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
271590Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
281590Srgrimes * SUCH DAMAGE.
291590Srgrimes *
301590Srgrimes *      @(#)extern.h	8.1 (Berkeley) 6/6/93
3187693Smarkm * $FreeBSD$
321590Srgrimes */
331590Srgrimes
341590Srgrimestypedef int boolean;
351590Srgrimes
361590Srgrimesextern boolean	 _escaped;             /* if last character was an escape */
3736053Sjbextern char    *s_start;               /* start of the current string */
381590Srgrimesextern char    *l_acmbeg;              /* string introducing a comment */
391590Srgrimesextern char    *l_acmend;              /* string ending a comment */
40228992Suqsextern char    *l_blkbeg;              /* string beginning of a block */
411590Srgrimesextern char    *l_blkend;              /* string ending a block */
421590Srgrimesextern char    *l_chrbeg;              /* delimiter for character constant */
431590Srgrimesextern char    *l_chrend;              /* delimiter for character constant */
441590Srgrimesextern char    *l_combeg;              /* string introducing a comment */
451590Srgrimesextern char    *l_comend;              /* string ending a comment */
461590Srgrimesextern char     l_escape;              /* character used to escape characters */
471590Srgrimesextern char    *l_keywds[];    	       /* keyword table address */
481590Srgrimesextern boolean  l_onecase;             /* upper and lower case are equivalent */
491590Srgrimesextern char    *l_prcbeg;              /* regular expr for procedure begin */
501590Srgrimesextern char    *l_strbeg;              /* delimiter for string constant */
511590Srgrimesextern char    *l_strend;              /* delimiter for string constant */
521590Srgrimesextern boolean  l_toplex;              /* procedures only defined at top lex level */
5387693Smarkmextern const char *language;           /* the language indicator */
541590Srgrimes
551590Srgrimes#include <sys/cdefs.h>
561590Srgrimes
571590Srgrimes__BEGIN_DECLS
5892922Simpextern int      STRNCMP(char *, char *, int);
5992922Simpextern char    *convexp(char *);
6092922Simpextern char    *expmatch(char *, char *, char *);
611590Srgrimes__END_DECLS
621590Srgrimes
63