summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/glcpp-parse.c
AgeCommit message (Collapse)Author
2011-03-26glsl: add missing generated filesChia-I Wu
2011-03-01glcpp: Remove files generated by flex and bison from GITIan Romanick
2011-02-11glcpp: regerated filesIan Romanick
These should have been committed right after fd1252ab, but they were missed. Soon, we'll never have to do this again...
2011-01-31glsl: regerated filesBrian Paul
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke
2011-01-29Revert "glcpp: Demote "macro redefined" from an error to a warning"Carl Worth
This reverts commit d3df641f0aba99b0b65ecd4d9b06798bca090a29. The original commit had sat unpushed on my machine for months. By the time I found it again, I had forgotten that we had decided not to use this change after all, (the relevant test was removed long ago).
2011-01-28glcpp: Demote "macro redefined" from an error to a warningCarl Worth
The GLSL specification is vague here, (just says "as is standard for C++"), though the C specifications seem quite clear that this should be an error. However, an existing piglit test (CorrectPreprocess11.frag) expects this to be a warning, not an error, so we change this, and document in README the deviation from the specification.
2011-01-26glsl: Refresh autogenerated parser filesChad Versace
For commits titled: glcpp: Conditionally define macro GL_AMD_conservative_depth glsl: Add support for AMD_conservative_depth to parser
2011-01-21glcpp: Regenerate parser files.Kenneth Graunke
2011-01-10glcpp: Refresh autogenerated lexer and parser files.Ian Romanick
For the previous commit.
2011-01-10glcpp: Regenerate glcpp-parse.cChad Versace
2010-12-07Refresh autogenerated glcpp parser.Kenneth Graunke
2010-11-17Regenerate glcpp parser.Kenneth Graunke
2010-11-16Refresh autogenerated glcpp parser.Kenneth Graunke
2010-10-08glcpp: Regenerate files changes by previous commitIan Romanick
2010-09-07glcpp: Fix build on non-GCC compilers.Kenneth Graunke
2010-09-07glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0.Kenneth Graunke
Also define it if #version 100 is encountered.
2010-08-24glsl: Include main/core.h.Chia-I Wu
Make glsl include only main/core.h from core mesa.
2010-08-17glcpp: Refresh generated files.Carl Worth
After a recent change to glcpp-parse.y (adding "redefined macro" error).
2010-08-16glcpp: Refresh autogenerated lexer and parser.Kenneth Graunke
2010-08-14Revert "glsl2: Use stdint.h instead of inttypes.h"José Fonseca
This reverts commit a77a6bc008b3146c56431fa520a00e1f8dfa3938.
2010-08-13glsl2: Refresh autogenerated bison parser.Kenneth Graunke
2010-08-13glsl2: Use stdint.h instead of inttypes.hIan Romanick
2010-08-12glsl2: Add missing include of string.hIan Romanick
Makes the build happy on non-GCC platforms.
2010-08-11glcpp: Fix "unterminated if" diagnostic.Carl Worth
This was previously being appended to the output string *after* a copy of the supposedly final string was made and handed to the caller. So the diagnostic was never actually visible to the user. We fix this by moving the check for an unterminated #if from glcpp_parser_destroy to the calling function, preprocess. This fixes the test case 083-unterminated-if.c.
2010-08-11glccp: Regenerate glcpp-parse.cCarl Worth
Due to a recent change to glcpp-parse.y.
2010-08-11glcpp: Reword diagnostic for #elif with no expressionCarl Worth
Rather than telling the user what to fix, the standard convention is to describe what the detected problem is. With this change, test 081-elif-without-expression now passes.
2010-08-11glcpp: Regenerate glcpp-parse.cCarl Worth
After a recent change to glcpp-parse.y
2010-08-10glcpp: Regnerate glcpp-parse.c and glcpp-parse.hCarl Worth
After making a minor change to the .y file.
2010-08-04glcpp: Ignore #if and #elif expressions when skipping.Kenneth Graunke
Fixes glcpp test cases 073 and 074, as well as piglit test xonotic-vs-generic-diffuse.vert.
2010-08-04glcpp: Refactor HASH_IF and HASH_ELIF expansion to reuse code.Kenneth Graunke
2010-08-04glcpp: Refresh autogenerated lexer and parser.Kenneth Graunke
2010-07-28glsl2: Actually fix glsl-version-define.Eric Anholt
2010-07-28glcpp: Add __VERSION__ define to the current language version.Eric Anholt
Fixes: glsl-version-define glsl-version-define-110 glsl-version-define-120
2010-07-28glcpp: Print integer tokens as decimal, not hex.Eric Anholt
2010-07-28glsl2: Add the define for ARB_fragment_coord_conventions when present.Eric Anholt
Fixes: glsl-arb-fragment-coord-conventions-define
2010-07-28glcpp: Add generated source files.Carl Worth
This is now consistent with other usage of flex/bison througout mesa, (which is that these generated files are added to source control so that the build system does not require external tools like flex/bison for non-developers).