Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/include/
H A Dshlex.h67 } Lex_t; typedef
141 } Lex_t;
143 #define shlex (((Lex_t*)(sh.lex_context))->_shlex)
158 extern int sh_lex(Lex_t*);
159 extern Shnode_t *sh_dolparen(Lex_t*);
160 extern Lex_t *sh_lexopen(Lex_t*, Shell_t*, int);
161 extern void sh_lexskip(Lex_t*,int,int,int);
162 extern void sh_syntax(Lex_t*);
164 extern int kiaclose(Lex_t *);
165 …extern unsigned long kiaentity(Lex_t*, const char*,int,int,int,int,unsigned long,int,int,co…
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dparse.c51 static Shnode_t *makeparent(Lex_t*, int, Shnode_t*);
52 static Shnode_t *makelist(Lex_t*, int, Shnode_t*, Shnode_t*);
54 static struct ionod *inout(Lex_t*,struct ionod*, int);
55 static Shnode_t *sh_cmd(Lex_t*,int,int);
56 static Shnode_t *term(Lex_t*,int);
57 static Shnode_t *list(Lex_t*,int);
58 static struct regnod *syncase(Lex_t*,int);
59 static Shnode_t *item(Lex_t*,int);
60 static Shnode_t *simple(Lex_t*,int, struct ionod*);
61 static int skipnl(Lex_t*,int);
[all …]
H A Dlex.c124 static char *fmttoken(Lex_t*, int, char*);
130 static void setupalias(Lex_t*,const char*, Namval_t*);
131 static int comsub(Lex_t*,int);
132 static void nested_here(Lex_t*);
133 static int here_copy(Lex_t*, struct ionod*);
134 static int stack_grow(Lex_t*);
139 static void refvar(Lex_t *lp, int type) in refvar()
183 register Lex_t *lp = (Lex_t*)context; in lex_advance()
227 static int lexfill(Lex_t *lp) in lexfill()
230 Lex_t savelex; in lexfill()
[all …]
H A Dmacro.c264 Lex_t *lp = (Lex_t*)mp->shp->lex_context; in sh_machere()
431 Lex_t *lp = (Lex_t*)mp->shp->lex_context; in copyto()
1032 Lex_t *lp = (Lex_t*)mp->shp->lex_context; in varsub()
1916 t = sh_dolparen((Lex_t*)mp->shp->lex_context); in comsubst()
H A Dargs.c143 Lex_t *lp = (Lex_t*)(shp->lex_context); in sh_argopts()
H A Dfault.c642 kiaclose((Lex_t*)shp->lex_context); in sh_done()
H A Dmain.c185 ((Lex_t*)shp->lex_context)->nonstandard = 0; in sh_main()
/titanic_41/usr/src/lib/libshell/misc/
H A DERRATA.txt872 static Shnode_t *getanode(Lex_t *lp, struct argnod *ap)