Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-23 | glcpp: Fix "dangerous trailing context" warning. | Kenneth Graunke | |
Flex couldn't be sure whether "def" and "ndef" were part of the #ifdef and #ifndef patterns or the trailing context of the #if pattern. | |||
2010-06-23 | glcpp: Recognize plain "//" as a comment. | Kenneth Graunke | |
Found in glsl-orangebook-ch06-bump.(frag|vert). This was resulting in the comments getting passed through to the main compiler's lexer. | |||
2010-06-21 | glcpp: Don't include newlines as part of #version-passthrough. | Kenneth Graunke | |
Fixes glcpp/tests/064-version.c. | |||
2010-06-21 | glcpp: Fix line and column numbering. | Kenneth Graunke | |
Lines were off by one, and column numbering was completely daft. | |||
2010-06-21 | glcpp: Set line locations in the lexer. | Kenneth Graunke | |
2010-06-21 | glcpp: Add plumbing to support line locations. | Kenneth Graunke | |
2010-06-21 | glcpp: Actually support #ifdef and #ifndef. | Kenneth Graunke | |
Strangely, the lexer never created these tokens, even though the parser already had code to handle them. | |||
2010-06-21 | glcpp: Build a reentrant parser. | Kenneth Graunke | |
2010-06-21 | glcpp: Handle missing newline at EOF. | Kenneth Graunke | |
Fixes CorrectFuncOverload.vert. | |||
2010-06-21 | glcpp: Pass #version, #extension, and #pragma directives through unchanged. | Kenneth Graunke | |
Let the main compiler's lexer/parser handle them. | |||
2010-06-21 | glcpp: Add support for lexing from a string. | Kenneth Graunke | |
The standalone binary still reads from stdin, however. | |||
2010-06-21 | Specify %option prefix="glcpp_" in the source code, not the Makefile. | Kenneth Graunke | |
2010-06-21 | Merge Carl's preprocessor into the glcpp subdirectory. | Kenneth Graunke | |