Remove a bunch of old code and give the static treatment to what's left.

We're no longer using the expansion stack, so its functions can go
along with most of the body of glcpp_parser_lex that was using it.
This commit is contained in:
Carl Worth
2010-05-25 18:39:43 -07:00
parent 652fa272ea
commit 5aa7ea0809
2 changed files with 21 additions and 248 deletions
-7
View File
@@ -127,16 +127,9 @@ struct glcpp_parser {
struct hash_table *defines;
string_list_t *active;
int space_tokens;
expansion_node_t *expansions;
int just_printed_separator;
int need_newline;
skip_node_t *skip_stack;
};
void
glcpp_parser_push_expansion_argument (glcpp_parser_t *parser,
int argument_index);
glcpp_parser_t *
glcpp_parser_create (void);