summaryrefslogtreecommitdiff
path: root/preproc.c
AgeCommit message (Expand)AuthorFilesLines
2008-08-06Add macro-defaults warning class and documentation.Victor van den Elzen1-2/+4
2008-07-31BR 2034542: fix crash when touching __FILE__H. Peter Anvin1-1/+1
2008-07-23preproc: restore correct break; in do_directive()H. Peter Anvin1-10/+10
2008-07-23BR 560960: warn about trailing garbage in %macro/%ifmacroVictor van den Elzen1-1/+9
2008-07-23Improve checking and documentation for %ifctxVictor van den Elzen1-3/+5
2008-07-19Avoid redundant "const" for macros_tH. Peter Anvin1-4/+4
2008-07-16preproc: add %un[i]macro, add cleanupsH. Peter Anvin1-80/+123
2008-07-16preproc.c: fix %ifn, %elifnH. Peter Anvin1-1/+1
2008-07-16Fix %rep ... %endmacro crashVictor van den Elzen1-7/+12
2008-07-13preproc.c: make %warning actually issue a warning...H. Peter Anvin1-2/+3
2008-07-12%EXITREP inside nested %REPsCharles Crayne1-2/+31
2008-07-02preproc: Allow anonymous contextsH. Peter Anvin1-18/+28
2008-07-01Permit commas in %strcatH. Peter Anvin1-0/+4
2008-07-01preproc: %strcat directive to concatenate quoted stringsH. Peter Anvin1-17/+81
2008-06-28preproc: MMacro.finishes is a pointer, not a booleanH. Peter Anvin1-5/+5
2008-06-25Make the macros table "unsigned char"H. Peter Anvin1-3/+3
2008-06-21Drop the index tables from the canned macrosH. Peter Anvin1-8/+8
2008-06-21Fix a few more <ctype.h> instancesH. Peter Anvin1-1/+1
2008-06-21ctype.h: wrapper ctype functions with a cast to (unsigned char)H. Peter Anvin1-9/+9
2008-06-20preproc: free the include path and the final filenameH. Peter Anvin1-2/+10
2008-06-20Move the output format macros into the macros.pl mechanismH. Peter Anvin1-2/+2
2008-06-19Somewhat more clever way to generate the %use guard macrosH. Peter Anvin1-12/+6
2008-06-19Protect %use from multi-inclusion and provide a test macroH. Peter Anvin1-6/+21
2008-06-19%use: call these directives "standard macro packages"H. Peter Anvin1-3/+3
2008-06-19macros.c: compress by tokenizing macro directivesH. Peter Anvin1-1/+24
2008-06-19preproc: add support for builtin include modules (%use)H. Peter Anvin1-41/+66
2008-06-11Use an explicit table for tolower() to avoid a function callH. Peter Anvin1-1/+1
2008-06-10Remove expand_macros_in_string()H. Peter Anvin1-14/+0
2008-06-10Add %warning, saner unquoting of %errorH. Peter Anvin1-8/+16
2008-06-09Make strings a first-class token type; defer evaluationH. Peter Anvin1-17/+10
2008-06-09Fix %? in multi-line macros with a labelH. Peter Anvin1-4/+9
2008-06-06Fix dependency list generationH. Peter Anvin1-7/+8
2008-06-04Add %defstr, %idefstrH. Peter Anvin1-1/+44
2008-06-04Fix double free in %dependH. Peter Anvin1-3/+1
2008-06-04Fix memory management issues with expanded %includeH. Peter Anvin1-25/+34
2008-06-01qstring: fix unquoting in %pathsearch directiveH. Peter Anvin1-2/+2
2008-06-01qstring: backquoted strings seem to work now...H. Peter Anvin1-17/+31
2008-06-01qstring: first cut at full quoted string support in the preprocessorH. Peter Anvin1-40/+60
2008-05-30Introduce %depend and %pathsearch, and make incbin a macroH. Peter Anvin1-65/+121
2008-05-30preproc.c: %include: use expand_smacros() not expand_smacros_in_string()H. Peter Anvin1-2/+1
2008-05-29Add the -MP option to emit phony targetsH. Peter Anvin1-30/+49
2008-05-29Implement -MD, -MF, -MT, -MQH. Peter Anvin1-8/+10
2008-05-29preproc.c: get_ctx() can return NULL...H. Peter Anvin1-5/+4
2008-05-28hash user allocates struct hash_tableH. Peter Anvin1-25/+33
2008-05-26preproc.c: prevent the compiler from reducing enum pp_token_typeH. Peter Anvin1-1/+2
2008-05-25Implement %? and %?? for mmacrosH. Peter Anvin1-12/+24
2008-05-25Implement %? and %?? for smacrosH. Peter Anvin1-2/+17
2008-05-22Use hash tables even for context-sensitive macrosH. Peter Anvin1-72/+68
2008-05-21Fix buffer overflow in preproc.c (BR 1942146)Philipp Thomas1-1/+1
2008-05-20Avoid #including .c files; instead compile as separate unitsH. Peter Anvin1-5/+5