Home
last modified time | relevance | path

Searched refs:Lex_t (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshlex.h68 } Lex_t; typedef
143 } Lex_t;
145 #define shlex (((Lex_t*)(sh.lex_context))->_shlex)
160 extern int sh_lex(Lex_t*);
161 extern Shnode_t *sh_dolparen(Lex_t*);
162 extern Lex_t *sh_lexopen(Lex_t*, Shell_t*, int);
163 extern void sh_lexskip(Lex_t*,int,int,int);
164 extern void sh_syntax(Lex_t*);
166 extern int kiaclose(Lex_t *);
167 …extern unsigned long kiaentity(Lex_t*, const char*,int,int,int,int,unsigned long,int,int,co…
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dparse.c55 static Shnode_t *makeparent(Lex_t*, int, Shnode_t*);
56 static Shnode_t *makelist(Lex_t*, int, Shnode_t*, Shnode_t*);
58 static struct ionod *inout(Lex_t*,struct ionod*, int);
59 static Shnode_t *sh_cmd(Lex_t*,int,int);
60 static Shnode_t *term(Lex_t*,int);
61 static Shnode_t *list(Lex_t*,int);
62 static struct regnod *syncase(Lex_t*,int);
63 static Shnode_t *item(Lex_t*,int);
64 static Shnode_t *simple(Lex_t*,int, struct ionod*);
65 static int skipnl(Lex_t*,int);
[all …]
H A Dlex.c129 static char *fmttoken(Lex_t*, int, char*);
135 static void setupalias(Lex_t*,const char*, Namval_t*);
136 static int comsub(Lex_t*,int);
137 static void nested_here(Lex_t*);
138 static int here_copy(Lex_t*, struct ionod*);
139 static int stack_grow(Lex_t*);
144 static void refvar(Lex_t *lp, int type) in refvar()
188 register Lex_t *lp = (Lex_t*)context; in lex_advance()
236 static int lexfill(Lex_t *lp) in lexfill()
239 Lex_t savelex; in lexfill()
[all …]
H A Dmacro.c275 Lex_t *lp = (Lex_t*)mp->shp->lex_context; in sh_machere()
443 Lex_t *lp = (Lex_t*)mp->shp->lex_context; in copyto()
1096 Lex_t *lp = (Lex_t*)mp->shp->lex_context; in varsub()
2058 t = sh_dolparen((Lex_t*)mp->shp->lex_context); in comsubst()
H A Dargs.c146 Lex_t *lp = (Lex_t*)(shp->lex_context); in sh_argopts()
H A Dfault.c669 kiaclose((Lex_t*)shp->lex_context); in sh_done()
H A Dmain.c169 ((Lex_t*)shp->lex_context)->nonstandard = 0; in sh_main()