Lines Matching defs:parser_state
246 EXTERN struct parser_state { struct
247 int last_token;
248 struct fstate cfont; /* Current font */
249 int p_stack[STACK_SIZE]; /* this is the parsers stack */
250 int il[STACK_SIZE]; /* this stack stores indentation levels */
251 float cstk[STACK_SIZE];/* used to store case stmt indentation levels */
252 int box_com; /* set to true when we are in a "boxed"
255 int comment_delta, n_comment_delta;
256 int cast_mask; /* indicates which close parens close off
258 int sizeof_mask; /* indicates which close parens close off
260 int block_init; /* true iff inside a block initialization */
261 int block_init_level; /* The level of brace nesting in an
263 int last_nl; /* this is true if the last thing scanned was
265 int in_or_st; /* Will be true iff there has been a
270 int bl_line; /* set to 1 by dump_line if the line is blank */
271 int col_1; /* set to true if the last token started in
273 int com_col; /* this is the column in which the current
275 int com_ind; /* the column in which comments to the right
277 int com_lines; /* the number of lines with comments, set by
279 int dec_nest; /* current nesting level for structure or init */
280 int decl_com_ind; /* the column in which comments after
282 int decl_on_line; /* set to true if this line of code has part
284 int i_l_follow; /* the level to which ind_level should be set
286 int in_decl; /* set to true when we are in a declaration
289 int in_stmt; /* set to 1 while in a stmt */
290 int ind_level; /* the current indentation level */
291 int ind_size; /* the size of one indentation level */
292 int ind_stmt; /* set to 1 if next line should have an extra
295 int last_u_d; /* set to true after scanning a token which
297 int leave_comma; /* if true, never break declarations after
299 int ljust_decl; /* true if declarations should be left
301 int out_coms; /* the number of comments processed, set by
303 int out_lines; /* the number of lines written, set by
305 int p_l_follow; /* used to remember how to indent following
307 int paren_level; /* parenthesization level. used to indent
309 short paren_indents[20]; /* column positions of each paren */
310 int pcase; /* set to 1 if the current line label is a
313 int search_brace; /* set to true by parse when it is necessary
316 int unindent_displace; /* comments not to the right of code
342 EXTERN struct parser_state state_stack[5]; argument