summaryrefslogtreecommitdiff
path: root/preproc.c
AgeCommit message (Expand)AuthorFilesLines
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
2008-05-20Add DY, YWORD, and the SY instruction flagH. Peter Anvin1-2/+2
2008-05-04First cut at AVX machinery.H. Peter Anvin1-2/+2
2008-02-16Add %ifempty and variantsH. Peter Anvin1-2/+9
2008-02-16Implement %iftoken, test for a single tokenH. Peter Anvin1-1/+15
2008-02-16Constipate the stdmac[] array.H. Peter Anvin1-2/+2
2008-02-16BR 1582430: Allow numbers with leading + or - for %ifnumH. Peter Anvin1-7/+11
2008-01-21preproc.c: simplify detoken() slightlyH. Peter Anvin1-5/+5
2007-12-29regularized spelling of license to match name of LICENSE fileBeroset1-1/+1
2007-11-26BR 852464: Fix memory leak in %if/%elseifH. Peter Anvin1-2/+2
2007-11-19Slightly faster implementation of the deadman counterH. Peter Anvin1-2/+2
2007-11-19BR 812417: Deadman counter for macro expansionH. Peter Anvin1-1/+9
2007-11-08Add flat64 to %stacksize choicesCharles Crayne1-0/+6
2007-11-08BR 1828103: Fix %arg and %localH. Peter Anvin1-36/+33
2007-10-24Fix the handling of floating-point tokens in the preprocessorH. Peter Anvin1-22/+90
2007-10-19Formatting: kill off "stealth whitespace"H. Peter Anvin1-19/+19