Print this page
11972 resync smatch

@@ -78,10 +78,11 @@
         char name[];            /* Actual identifier */
 };
 
 enum token_type {
         TOKEN_EOF,
+        TOKEN_BAD,
         TOKEN_ERROR,
         TOKEN_IDENT,
         TOKEN_ZERO_IDENT,
         TOKEN_NUMBER,
         TOKEN_CHAR,

@@ -236,10 +237,12 @@
 extern struct token *pos_get_token(struct position pos);
 extern char *pos_ident(struct position pos);
 
 extern void store_macro_pos(struct token *);
 extern char *get_macro_name(struct position pos);
+extern char *get_inner_macro(struct position pos);
+extern struct string_list *get_all_macros(struct position pos);
 
 static inline int match_op(struct token *token, unsigned int op)
 {
         return token->pos.type == TOKEN_SPECIAL && token->special == op;
 }