1 /* 2 * Copyright (c) 2016, Masatake YAMATO 3 * 4 * This source code is released for free distribution under the terms of the 5 * GNU General Public License version 2 or (at your option) any later version. 6 * 7 * This module contains functions for generating tags for makefiles. 8 */ 9 10 #ifndef CTAGS_PARSER_MAKE_H 11 #define CTAGS_PARSER_MAKE_H 12 13 /* 14 * INCLUDE FILES 15 */ 16 #include "general.h" /* must always come first */ 17 18 #include "subparser.h" 19 #include "vstring.h" 20 21 typedef struct sMakeSubparser makeSubparser; 22 23 struct sMakeSubparser { 24 subparser subparser; 25 26 void (* valueNotify) (makeSubparser *s, char* name); 27 void (* directiveNotify) (makeSubparser *s, char* name); 28 void (* newMacroNotify) (makeSubparser *s, 29 char* name, 30 bool withDefineDirective, 31 bool appending); 32 }; 33 34 #endif 35