Lines Matching defs:parser_state
241 struct parser_state { struct
242 int last_token;
243 int p_stack[STACKSIZE]; /* this is the parsers stack */
244 int il[STACKSIZE]; /* this stack stores indentation levels */
245 float cstk[STACKSIZE];/* used to store case stmt indentation levels */
246 int box_com; /* set to true when we are in a "boxed"
249 int comment_delta; /* used to set up indentation for all lines
251 int n_comment_delta;/* remembers how many columns there were
255 int cast_mask; /* indicates which close parens potentially
257 int not_cast_mask; /* indicates which close parens definitely
259 int block_init; /* true iff inside a block initialization */
260 int block_init_level; /* The level of brace nesting in an
262 int last_nl; /* this is true if the last thing scanned was
264 int in_or_st; /* Will be true iff there has been a
269 int bl_line; /* set to 1 by dump_line if the line is blank */
270 int col_1; /* set to true if the last token started in
272 int com_col; /* this is the column in which the current
274 int com_lines; /* the number of lines with comments, set by
276 int dec_nest; /* current nesting level for structure or init */
277 int decl_on_line; /* set to true if this line of code has part
279 int i_l_follow; /* the level to which ind_level should be set
281 int in_decl; /* set to true when we are in a declaration
284 int in_stmt; /* set to 1 while in a stmt */
285 int ind_level; /* the current indentation level */
286 int ind_stmt; /* set to 1 if next line should have an extra
289 int last_u_d; /* set to true after scanning a token which
291 int out_coms; /* the number of comments processed, set by
293 int out_lines; /* the number of lines written, set by
295 int p_l_follow; /* used to remember how to indent following
319 extern struct parser_state ps; argument