summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/glcpp-lex.l
AgeCommit message (Expand)AuthorFilesLines
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
2010-08-18glcpp: Add basic #line support (adapted from the main compiler).Kenneth Graunke1-0/+31
2010-08-17glcpp: Don't include the newline when discarding single-line commentsCarl Worth1-4/+1
2010-08-16glcpp: Remove spurious newline generated by #version handling.Kenneth Graunke1-3/+1
2010-08-13glsl2: Use --nounistd to fix MSVC buildIan Romanick1-0/+1
2010-08-11glcpp: Initialize line and column numbers to 1, not 0.Carl Worth1-1/+1
2010-08-04glcpp: Remove xtalloc wrappers in favor of plain talloc.Kenneth Graunke1-7/+7
2010-07-28glcpp: Add __VERSION__ define to the current language version.Eric Anholt1-1/+9
2010-07-20glcpp: Avoid warnings in generated flex code.Carl Worth1-1/+12
2010-07-20glcpp-lex: Declare some generated functions to eliminate compiler warnings.Carl Worth1-0/+5
2010-07-20glcpp: Fix support for nested #ifdef and nested #ifndefCarl Worth1-2/+4
2010-07-20glcpp: Support #if(expression) with no intervening space.Carl Worth1-1/+1
2010-07-07glsl2: Initialize yylineno and yycolumn so line numbers are sane.Kenneth Graunke1-0/+1
2010-07-02glcpp: Add #error support.Kenneth Graunke1-0/+8
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt1-0/+257