summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/glcpp-lex.l
AgeCommit message (Expand)AuthorFilesLines
2016-01-26glsl: move to compiler/Emil Velikov1-577/+0
2014-08-22glcpp: Don't use alternation in the lookahead for empty pragmas.Carl Worth1-2/+8
2014-08-07glsl/glcpp: Don't include any newline characters in #error tokenCarl Worth1-1/+1
2014-08-07glsl/glcpp: Treat CR+LF pair as a single newlineCarl Worth1-5/+6
2014-08-07glsl/glcpp: Swallow empty #pragma directives.Carl Worth1-0/+6
2014-08-07glsl/glcpp: Fix #pragma to not over-increment the line-number countCarl Worth1-2/+0
2014-08-07glsl/glcpp: Fix NULL directives when followed by a single-line commentCarl Worth1-1/+1
2014-08-07glsl/glcpp: Allow single-line comments immediately after #defineCarl Worth1-1/+1
2014-08-07glsl/glcpp: Add explicit error for "#define without macro name"Carl Worth1-3/+3
2014-07-30glsl/glcpp: rename ERROR to ERROR_TOKEN to fix MSVC buildBrian Paul1-1/+1
2014-07-29glsl/glcpp: Add flex options to eliminate the default rule.Carl Worth1-1/+2
2014-07-29glsl/glcpp: Combine the two rules matching any characterCarl Worth1-6/+6
2014-07-29glsl/glcpp: Alphabetize lists of start conditionsCarl Worth1-3/+3
2014-07-29glsl/glcpp: Add a catch-all rule for unexpected characters.Carl Worth1-0/+13
2014-07-29glsl/glcpp: Treat carriage return as equivalent to line feed.Carl Worth1-9/+8
2014-07-29glsl/glcpp: Add (non)-support for ++ and -- operatorsCarl Worth1-0/+8
2014-07-29glsl/glcpp: Drop the HASH_ prefix from token names like HASH_IFCarl Worth1-13/+13
2014-07-29glsl/glcpp: Correctly parse directives with intervening commentsCarl Worth1-42/+120
2014-07-29glsl/glcpp: Rename HASH token to HASH_TOKENCarl Worth1-1/+1
2014-07-29glsl/glcpp: Don't use start-condition stack when switching to/from <DEFINE>Carl Worth1-3/+3
2014-07-29glsl/glcpp: Fix off-by-one error in column in first-line error messagesCarl Worth1-1/+1
2014-07-29glsl/glcpp: Stop using a lexer start condition (<SKIP>) for token skipping.Carl Worth1-63/+97
2014-07-29glsl/glcpp: Abstract a bit of common code for returning string tokensCarl Worth1-22/+18
2014-07-29glsl/glcpp: Drop extra, final newline from most outputCarl Worth1-38/+49
2014-07-29glsl/glcpp: Add testing for EOF sans newline (and fix for <DEFINE>, <COMMENT>)Carl Worth1-2/+5
2014-07-29glsl/glcpp: Remove some un-needed calls to NEWLINE_CATCHUPCarl Worth1-4/+0
2014-07-29glsl/glcpp: Add support for comments between #define and macro identifierCarl Worth1-2/+36
2014-07-29glsl/glcpp: Emit proper error for #define with a non-identifierCarl Worth1-0/+6
2014-07-29glsl/glcpp: Fix to emit spaces following directivesCarl Worth1-0/+1
2014-07-09glsl/glcpp: Don't choke on an empty pragmaCarl Worth1-1/+1
2014-07-09glsl/glcpp: Fix glcpp to properly lex entire "preprocessing numbers"Carl Worth1-0/+6
2014-07-09glsl/glcpp: Fix glcpp to catch garbage after #if 1 ... #elseCarl Worth1-12/+13
2014-03-08glcpp: Do not remove spaces to preserve locations.Sir Anthony1-1/+1
2014-03-08glsl: Update lexers in glsl and glcpp to hande end position of token.Sir Anthony1-1/+2
2014-01-31glcpp: Don't enter lexer's NEWLINE_CATCHUP start state for single-line commentsCarl Worth1-2/+0
2014-01-02glcpp: Replace multi-line comment with a space (even as part of macro definit...Carl Worth1-5/+33
2014-01-02glcpp: Add a more descriptive comment for the SKIP state manipulationCarl Worth1-5/+36
2013-01-11glcpp: Reject token pasting operator in GLESMatt Turner1-0/+2
2012-11-28glcpp: Support #elif(expression) with no intervening space.Matt Turner1-1/+1
2012-11-28glcpp: Reject #version and #line not followed by whitespaceMatt Turner1-2/+2
2012-10-25glcpp: Don't use infinite lookhead for #define differentiation.Kenneth Graunke1-6/+14
2012-06-26glsl: glcpp: Move handling of #line directives from lexer to parser.Carl Worth1-35/+14
2012-02-02glcpp: Fix so that trailing punctuation does not prevent macro expansionCarl Worth1-1/+9
2011-03-04glsl: Define YY_NO_UNISTD_H on MSVC.José Fonseca1-0/+4
2011-03-03glcpp: Remove trailing contexts from #if rules.Kenneth Graunke1-6/+6
2011-03-03glcpp: Rework lexer to use a SKIP state rather than REJECT.Kenneth Graunke1-21/+16
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke1-7/+7
2010-10-21glcpp: Return NEWLINE token for newlines inside multi-line comments.Kenneth Graunke1-2/+2
2010-08-23glcpp: Fix handling of "#line 0"Carl Worth1-2/+3
2010-08-23glcpp: Fix source numbers set with "#line LINE_NUMBER SOURCE_NUMBER"Carl Worth1-2/+7