Lines Matching defs:line
99 token->pos.line = pos->line;
165 replace_with_integer(token, token->pos.line);
256 static void preprocessor_line(struct stream *stream, struct token **line);
298 next->pos.line = pos->line;
1387 if (token) /* Free the "define" token, but not the rest of the line */
1470 static int do_handle_define(struct stream *stream, struct token **line, struct token *token, int attr)
1500 static int handle_define(struct stream *stream, struct token **line, struct token *token)
1502 return do_handle_define(stream, line, token, SYM_ATTR_NORMAL);
1505 static int handle_weak_define(struct stream *stream, struct token **line, struct token *token)
1507 return do_handle_define(stream, line, token, SYM_ATTR_WEAK);
1510 static int handle_strong_define(struct stream *stream, struct token **line, struct token *token)
1512 return do_handle_define(stream, line, token, SYM_ATTR_STRONG);
1515 static int do_handle_undef(struct stream *stream, struct token **line, struct token *token, int attr)
1546 static int handle_undef(struct stream *stream, struct token **line, struct token *token)
1548 return do_handle_undef(stream, line, token, SYM_ATTR_NORMAL);
1551 static int handle_strong_undef(struct stream *stream, struct token **line, struct token *token)
1553 return do_handle_undef(stream, line, token, SYM_ATTR_STRONG);
1567 static int handle_ifdef(struct stream *stream, struct token **line, struct token *token)
1582 static int handle_ifndef(struct stream *stream, struct token **line, struct token *token)
1669 static int handle_if(struct stream *stream, struct token **line, struct token *token)
1679 static int handle_elif(struct stream * stream, struct token **line, struct token *token)
1712 static int handle_else(struct stream *stream, struct token **line, struct token *token)
1737 static int handle_endif(struct stream *stream, struct token **line, struct token *token)
1753 static int handle_warning(struct stream *stream, struct token **line, struct token *token)
1759 static int handle_error(struct stream *stream, struct token **line, struct token *token)
1765 static int handle_nostdinc(struct stream *stream, struct token **line, struct token *token)
1842 static int handle_add_include(struct stream *stream, struct token **line, struct token *token)
1856 static int handle_add_isystem(struct stream *stream, struct token **line, struct token *token)
1870 static int handle_add_system(struct stream *stream, struct token **line, struct token *token)
1901 static int handle_add_dirafter(struct stream *stream, struct token **line, struct token *token)
1915 static int handle_split_include(struct stream *stream, struct token **line, struct token *token)
1946 static int handle_pragma(struct stream *stream, struct token **line, struct token *token)
1948 struct token *next = *line;
1958 *line = token;
1964 * We ignore #line for now.
1966 static int handle_line(struct stream *stream, struct token **line, struct token *token)
1971 static int handle_ident(struct stream *stream, struct token **line, struct token *token)
1976 static int handle_nondirective(struct stream *stream, struct token **line, struct token *token)
1978 sparse_error(token->pos, "unrecognized preprocessor line '%s'", show_token_sequence(token, 0));
2111 { "line", handle_line },
2171 static void handle_preprocessor_line(struct stream *stream, struct token **line, struct token *start)
2206 if (!handler(stream, line, token)) /* all set */
2213 static void preprocessor_line(struct stream *stream, struct token **line)
2215 struct token *start = *line, *next;
2224 *line = next;
2226 handle_preprocessor_line(stream, line, start);