summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp-lex.l
Commit message (Expand)AuthorAgeFilesLines
* glsl/glcpp: rename ERROR to ERROR_TOKEN to fix MSVC buildBrian Paul2014-07-301-1/+1
* glsl/glcpp: Add flex options to eliminate the default rule.Carl Worth2014-07-291-1/+2
* glsl/glcpp: Combine the two rules matching any characterCarl Worth2014-07-291-6/+6
* glsl/glcpp: Alphabetize lists of start conditionsCarl Worth2014-07-291-3/+3
* glsl/glcpp: Add a catch-all rule for unexpected characters.Carl Worth2014-07-291-0/+13
* glsl/glcpp: Treat carriage return as equivalent to line feed.Carl Worth2014-07-291-9/+8
* glsl/glcpp: Add (non)-support for ++ and -- operatorsCarl Worth2014-07-291-0/+8
* glsl/glcpp: Drop the HASH_ prefix from token names like HASH_IFCarl Worth2014-07-291-13/+13
* glsl/glcpp: Correctly parse directives with intervening commentsCarl Worth2014-07-291-42/+120
* glsl/glcpp: Rename HASH token to HASH_TOKENCarl Worth2014-07-291-1/+1
* glsl/glcpp: Don't use start-condition stack when switching to/from <DEFINE>Carl Worth2014-07-291-3/+3
* glsl/glcpp: Fix off-by-one error in column in first-line error messagesCarl Worth2014-07-291-1/+1
* glsl/glcpp: Stop using a lexer start condition (<SKIP>) for token skipping.Carl Worth2014-07-291-63/+97
* glsl/glcpp: Abstract a bit of common code for returning string tokensCarl Worth2014-07-291-22/+18
* glsl/glcpp: Drop extra, final newline from most outputCarl Worth2014-07-291-38/+49
* glsl/glcpp: Add testing for EOF sans newline (and fix for <DEFINE>, <COMMENT>)Carl Worth2014-07-291-2/+5
* glsl/glcpp: Remove some un-needed calls to NEWLINE_CATCHUPCarl Worth2014-07-291-4/+0
* glsl/glcpp: Add support for comments between #define and macro identifierCarl Worth2014-07-291-2/+36
* glsl/glcpp: Emit proper error for #define with a non-identifierCarl Worth2014-07-291-0/+6
* glsl/glcpp: Fix to emit spaces following directivesCarl Worth2014-07-291-0/+1
* glsl/glcpp: Don't choke on an empty pragmaCarl Worth2014-07-091-1/+1
* glsl/glcpp: Fix glcpp to properly lex entire "preprocessing numbers"Carl Worth2014-07-091-0/+6
* glsl/glcpp: Fix glcpp to catch garbage after #if 1 ... #elseCarl Worth2014-07-091-12/+13
* glcpp: Do not remove spaces to preserve locations.Sir Anthony2014-03-081-1/+1
* glsl: Update lexers in glsl and glcpp to hande end position of token.Sir Anthony2014-03-081-1/+2
* glcpp: Don't enter lexer's NEWLINE_CATCHUP start state for single-line commentsCarl Worth2014-01-311-2/+0
* glcpp: Replace multi-line comment with a space (even as part of macro definit...Carl Worth2014-01-021-5/+33
* glcpp: Add a more descriptive comment for the SKIP state manipulationCarl Worth2014-01-021-5/+36
* glcpp: Reject token pasting operator in GLESMatt Turner2013-01-111-0/+2
* glcpp: Support #elif(expression) with no intervening space.Matt Turner2012-11-281-1/+1
* glcpp: Reject #version and #line not followed by whitespaceMatt Turner2012-11-281-2/+2
* glcpp: Don't use infinite lookhead for #define differentiation.Kenneth Graunke2012-10-251-6/+14
* glsl: glcpp: Move handling of #line directives from lexer to parser.Carl Worth2012-06-261-35/+14
* glcpp: Fix so that trailing punctuation does not prevent macro expansionCarl Worth2012-02-021-1/+9
* glsl: Define YY_NO_UNISTD_H on MSVC.José Fonseca2011-03-041-0/+4
* glcpp: Remove trailing contexts from #if rules.Kenneth Graunke2011-03-031-6/+6
* glcpp: Rework lexer to use a SKIP state rather than REJECT.Kenneth Graunke2011-03-031-21/+16
* Convert everything from the talloc API to the ralloc API.Kenneth Graunke2011-01-311-7/+7
* glcpp: Return NEWLINE token for newlines inside multi-line comments.Kenneth Graunke2010-10-211-2/+2
* glcpp: Fix handling of "#line 0"Carl Worth2010-08-231-2/+3
* glcpp: Fix source numbers set with "#line LINE_NUMBER SOURCE_NUMBER"Carl Worth2010-08-231-2/+7
* glcpp: Add basic #line support (adapted from the main compiler).Kenneth Graunke2010-08-181-0/+31
* glcpp: Don't include the newline when discarding single-line commentsCarl Worth2010-08-171-4/+1
* glcpp: Remove spurious newline generated by #version handling.Kenneth Graunke2010-08-161-3/+1
* glsl2: Use --nounistd to fix MSVC buildIan Romanick2010-08-131-0/+1
* glcpp: Initialize line and column numbers to 1, not 0.Carl Worth2010-08-111-1/+1
* glcpp: Remove xtalloc wrappers in favor of plain talloc.Kenneth Graunke2010-08-041-7/+7
* glcpp: Add __VERSION__ define to the current language version.Eric Anholt2010-07-281-1/+9
* glcpp: Avoid warnings in generated flex code.Carl Worth2010-07-201-1/+12
* glcpp-lex: Declare some generated functions to eliminate compiler warnings.Carl Worth2010-07-201-0/+5