aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/token.h
AgeCommit message (Expand)AuthorFilesLines
2022-05-21Use offsetof macro to silence null ptr subtraction warningRichard Palethorpe1-1/+1
2020-07-22add position to struct streamLuc Van Oostenryck1-3/+4
2020-07-19prepend diagnostics with source's path and include chainLuc Van Oostenryck1-3/+4
2020-07-02options: move declaration of tabstop out of "token.h"Luc Van Oostenryck1-1/+0
2020-05-18univ-init: add helper match_token_zero()Luc Van Oostenryck1-0/+7
2018-06-01avoid multiple error message after parsing errorLuc Van Oostenryck1-0/+1
2017-07-04Let create_symbol check for previous same symbolChristopher Li1-1/+1
2016-10-13Fix warning compiling sparse-llvmChristopher Li1-1/+1
2015-02-06Make macro expanded string immutableChristopher Li1-1/+2
2013-11-29sparse: Relicense under the MIT licenseFranz Schrober1-1/+17
2013-04-21Support #pragma onceJosh Triplett1-1/+1
2013-03-06Larger buffer size for token concatenationChristopher Li1-1/+1
2013-02-25Get rid of gcc warning about enum valuesChristopher Li1-2/+10
2013-02-12switch to delayed handling of escape sequencesAl Viro1-3/+4
2011-04-19Add new streams to a hash-list based on their namesLinus Torvalds1-1/+2
2010-06-17Parsing wide char stringChristopher Li1-1/+2
2010-04-08Allow parsing L'\0'Christopher Li1-0/+1
2009-01-02Add -ftabstop=WIDTHHannes Eder1-0/+1
2008-12-18Remove pre_bufferChristopher Li1-1/+1
2007-05-01combinations string clean upChristopher Li1-1/+1
2007-03-09Fix typos in commentsJosh Triplett1-1/+1
2007-03-07Free up some special bits in modifiers.Josh Triplett1-1/+2
2007-01-27Coding style fix: in a pointer type, * goes with the name, not the type.Josh Triplett1-1/+1
2006-11-28trivial fix for seg fault.Christopher Li1-1/+1
2006-10-24switch to hash-based get_one_special()Al Viro1-9/+9
2005-11-27[PATCH] eliminate elif_ignore, fix handling of unterminated #ifAl Viro1-2/+5
2005-11-27[PATCH] fixed stream->protect handlingAl Viro1-0/+2
2005-09-09Warn about undefined preprocessor symbols at expansion time, not parse timeLinus Torvalds1-0/+1
2005-08-03Update the calling interface to "sparse()".Linus Torvalds1-1/+1
2005-04-27[PATCH] sparse fixDave Jones1-2/+0
2005-04-07[PATCH] static declearChristopher Li1-0/+2
2005-04-07[PATCH] make include path handling gcc compatibleSam Ravnborg1-0/+1
2005-04-07Add "stream_name()" helper function, and use it.Linus Torvalds1-0/+1
2005-04-07Remove stat-based file identity tests.Linus Torvalds1-2/+0
2005-04-07Move declaration of "die()" to lib.h and check its format.Linus Torvalds1-1/+0
2005-04-07Add "optimize" flag, and collect the flags into lib.c.Linus Torvalds1-1/+0
2005-04-07Introduce the notion of "reserved" identifiers. Linus Torvalds1-1/+2
2005-04-07Morten made us almost -Wwrite-strings clean. Go the extra mile.Linus Torvalds1-1/+1
2005-04-07Make "next_path" be per-stream for better "include_next".Linus Torvalds1-2/+5
2005-04-07pre-process.c:welinder@troll.com1-1/+9
2005-04-07[PATCH] teach show_special() to handle tokens introduced by evaluate_comparis...Alexander Viro1-2/+3
2005-04-07[PATCH] comparison operations fixAlexander Viro1-1/+5
2005-04-07C99 says strings should be up to 4095 bytes.Linus Torvalds1-1/+1
2005-04-07Don't allow string concatenation to overflow MAX_STRING.Linus Torvalds1-0/+2
2005-04-07[PATCH] speed up (and fix corner case in) tokenizerAlexander Viro1-3/+1
2005-04-07[PATCH] lazy-copy macro expansion in pre-processingAlexander Viro1-0/+17
2005-04-07[PATCH] more sparse fixes (body parsing, beginning of ## handling)Alexander Viro1-0/+3
2005-04-07Shrink "struct token" by moving "noexpand" into the position flags.Linus Torvalds1-1/+0
2005-04-07[PATCH] Fix preprocessor expansion anti-recursion properlyAlexander Viro1-1/+3
2005-04-07[PATCH] cleanup of macro arguments handlingAlexander Viro1-0/+2
2005-04-07Remove TOKEN_FP vs TOKEN_INTEGER distinction, and make numbers beLinus Torvalds1-4/+2
2005-04-07Update copyright notices to reflect the fact that TransmetaLinus Torvalds1-0/+1
2005-04-07Add "-v" flag for verbose mode.Linus Torvalds1-1/+1
2005-04-07Avoid recursive expansion of tokens by keeping track of expansionLinus Torvalds1-0/+1
2005-04-07Start updating the copyright license comments to the OSL,Linus Torvalds1-1/+3
2005-04-07Add a "preprocessing" flag, so that the expression evaluator canLinus Torvalds1-0/+1
2005-04-07Change the copyright to Transmeta Corp, that's likely to beLinus Torvalds1-1/+1
2005-04-07Evaluate assignments:Linus Torvalds1-2/+2
2005-04-07Start doing constant strings right: do proper concatenation of strings,Linus Torvalds1-0/+1
2005-04-07Introduce a "struct position", and have the different types referLinus Torvalds1-8/+6
2005-04-07Add support for tokenizing a pre-allocated string instead of a file.Linus Torvalds1-1/+3
2005-04-07Make the includepath be an array of "const char *"Linus Torvalds1-2/+0
2005-04-07Move includepath[] array out of pre-processor, since we wantLinus Torvalds1-0/+2
2005-04-07Add copyright statements and file comments. Add a FAQ, README, andLinus Torvalds1-0/+7
2005-04-07Avoid re-tokenizing header files that are protected byLinus Torvalds1-1/+2
2005-04-07Make the tokenizer insert begin/end tokens at stream boundaries,Linus Torvalds1-1/+11
2005-04-07Re-name the "action" thing as something saner - it's now a "stream".Linus Torvalds1-2/+0
2005-04-07Tokenization drops whitespace, but there is one area where it isLinus Torvalds1-2/+3
2005-04-07Parse the incoming argument list for macro expansion.Linus Torvalds1-2/+5
2005-04-07Declare 'alloc_token()' for use in the pre-processor (which createsLinus Torvalds1-0/+2
2005-04-07Teach the preprocessing pass to handle 'include' and Linus Torvalds1-1/+1
2005-04-07Do much more pre-processing work: support #ifdef/#else/#endifLinus Torvalds1-1/+0
2005-04-07Add initial preprocessor pass (doesn't actually do much)Linus Torvalds1-1/+13
2005-04-07Implement space-efficient allocator for small data structures. WeLinus Torvalds1-4/+4
2005-04-07Make 'struct token' smaller (it's way too common). Linus Torvalds1-6/+22
2005-04-07Tokenize integer constants with "u" and "l" specifiers (drop them for now).Linus Torvalds1-1/+1
2005-04-07Fix up confusion between different typedefs and namespaces.Linus Torvalds1-3/+4
2005-04-07Initialize 'struct', 'union' and 'enum' built-ins.Linus Torvalds1-0/+2
2005-04-07Start handling minimal semantic information, needed for types.Linus Torvalds1-8/+7
2005-04-07Mark local parsing functions 'static'.Linus Torvalds1-0/+1
2005-04-07Add simple recursive-descent C expression parsing (but we only do theLinus Torvalds1-1/+5
2005-04-07Yaah. I'm a retard, but I want to at least try to see how hard it isLinus Torvalds1-0/+108