/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1982-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* David Korn <dgk@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
#ifndef NOTSYM
/*
* UNIX shell
* Written by David Korn
* These are the definitions for the lexical analyzer
*/
#include <cdt.h>
#include "shnodes.h"
#include "shtable.h"
#include "lexstates.h"
typedef struct _shlex_
{
#if SHOPT_KIA
#endif /* SHOPT_KIA */
#ifdef _SHLEX_PRIVATE
#endif
} Lex_t;
/* symbols for parsing */
/* additional parser flag, others in <shell.h> */
#if 0
typedef struct _shlex_
{
#ifdef _SHLEX_PRIVATE
#endif
} Lex_t;
#endif
extern const char e_unexpected[];
extern const char e_unmatched[];
extern const char e_endoffile[];
extern const char e_newline[];
/* odd chars */
extern void sh_lexskip(Lex_t*,int,int,int);
#if SHOPT_KIA
extern unsigned long kiaentity(Lex_t*, const char*,int,int,int,int,unsigned long,int,int,const char*);
#endif /* SHOPT_KIA */
#endif /* !NOTSYM */