Searched refs:p_stack (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/usr.bin/indent/
H A Dparse.c60 while (ps.p_stack[ps.tos] == ifhead && tk != elselit) {
62 ps.p_stack[ps.tos] = stmt; /* apply the if(..) stmt ::= stmt
74 if (ps.p_stack[ps.tos] != decl) { /* only put one declaration
78 ps.p_stack[++ps.tos] = decl;
85 if (ps.p_stack[i] == decl)
94 if (ps.p_stack[ps.tos] == elsehead && opt.else_if) /* "else if ..." */
105 ps.p_stack[++ps.tos] = tk;
113 if (ps.p_stack[ps.tos] == stmt || ps.p_stack[ps.tos] == decl
114 || ps.p_stack[p
[all...]
H A Dindent_globs.h243 int p_stack[STACKSIZE]; /* this is the parsers stack */ member in struct:parser_state
H A Dindent.c121 ps.p_stack[0] = stmt; /* this is the parser's stack */
875 if (ps.p_stack[ps.tos] == decl && !ps.block_init) /* semicolons can be
904 ps.search_brace = opt.cuddle_else && ps.p_stack[ps.tos] == ifhead

Completed in 124 milliseconds