Home
last modified time | relevance | path

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

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