aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pre-process.c
AgeCommit message (Expand)AuthorFilesLines
2005-04-07Add copyright statements and file comments. Add a FAQ, README, andLinus Torvalds1-0/+2
2005-04-07Fix constant expression parsing (a constant expression canLinus Torvalds1-2/+2
2005-04-07Bind symbols when declared. Bind arguments to functions.Linus Torvalds1-4/+4
2005-04-07Parse __alignof__ (although right now it ends up parsing as aLinus Torvalds1-3/+0
2005-04-07First cut at retokenization (ie 'a ## b') in macro expansion.Linus Torvalds1-0/+101
2005-04-07Fix up whitespace for token expansion to make printout prettier.Linus Torvalds1-0/+1
2005-04-07Avoid re-tokenizing header files that are protected byLinus Torvalds1-3/+26
2005-04-07Start tracking whether a stream may be constant or not. Very experimental.Linus Torvalds1-24/+40
2005-04-07Make the tokenizer insert begin/end tokens at stream boundaries,Linus Torvalds1-3/+12
2005-04-07Re-name the "action" thing as something saner - it's now a "stream".Linus Torvalds1-3/+13
2005-04-07Fix fd leak in tokenization.Linus Torvalds1-0/+1
2005-04-07Tokenization drops whitespace, but there is one area where it isLinus Torvalds1-2/+7
2005-04-07This gets us up and parsing through a lot of the regular header files:Linus Torvalds1-7/+15
2005-04-07Do preprocessor macro argument substitution.Linus Torvalds1-1/+72
2005-04-07Make preprocessor expansion a hell of a lot more readable byLinus Torvalds1-25/+35
2005-04-07Parse the incoming argument list for macro expansion.Linus Torvalds1-2/+28
2005-04-07Add scaffolding for argument handling of macros. Very preliminary.Linus Torvalds1-9/+28
2005-04-07Make the preprocessor use the C parser, and then evaluate preprocessorLinus Torvalds1-113/+132
2005-04-07Properly expand tokens on #if/#elif/#include preprocessor linesLinus Torvalds1-34/+55
2005-04-07Argh, fix the pre-processor expression parsing warning to warnLinus Torvalds1-3/+3
2005-04-07Make preprocessor errors more readable, to help adding theLinus Torvalds1-1/+1
2005-04-07Do proper recursive expansion, with the right avoidance of infiniteLinus Torvalds1-10/+30
2005-04-07Fix stream naming on include - we need to allocate stable storage for itLinus Torvalds1-2/+5
2005-04-07Fix 'elif' semantics: if we've ever seen a previous if that matched,Linus Torvalds1-10/+12
2005-04-07Move some common parsing routines to "lib", so thattheLinus Torvalds1-1/+124
2005-04-07Teach the preprocessing pass to handle 'include' and Linus Torvalds1-2/+97
2005-04-07Do much more pre-processing work: support #ifdef/#else/#endifLinus Torvalds1-21/+196
2005-04-07Preprocessor symbol handling: handle simple cases of #define andLinus Torvalds1-8/+83
2005-04-07Add initial preprocessor pass (doesn't actually do much)Linus Torvalds1-0/+51