summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/glcpp-parse.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-01glcpp: Remove files generated by flex and bison from GITIan Romanick1-4222/+0
2011-02-11glcpp: regerated filesIan Romanick1-177/+190
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 Paul1-122/+114
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke1-182/+183
2011-01-29Revert "glcpp: Demote "macro redefined" from an error to a warning"Carl Worth1-4/+4
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 Worth1-4/+4
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 Versace1-0/+2
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 Graunke1-229/+231
2011-01-10glcpp: Refresh autogenerated lexer and parser files.Ian Romanick1-184/+181
For the previous commit.
2011-01-10glcpp: Regenerate glcpp-parse.cChad Versace1-0/+21
2010-12-07Refresh autogenerated glcpp parser.Kenneth Graunke1-47/+46
2010-11-17Regenerate glcpp parser.Kenneth Graunke1-85/+90
2010-11-16Refresh autogenerated glcpp parser.Kenneth Graunke1-196/+207
2010-10-08glcpp: Regenerate files changes by previous commitIan Romanick1-121/+116
2010-09-07glcpp: Fix build on non-GCC compilers.Kenneth Graunke1-87/+88
2010-09-07glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0.Kenneth Graunke1-215/+230
Also define it if #version 100 is encountered.
2010-08-24glsl: Include main/core.h.Chia-I Wu1-1/+1
Make glsl include only main/core.h from core mesa.
2010-08-17glcpp: Refresh generated files.Carl Worth1-226/+339
After a recent change to glcpp-parse.y (adding "redefined macro" error).
2010-08-16glcpp: Refresh autogenerated lexer and parser.Kenneth Graunke1-1/+1
2010-08-14Revert "glsl2: Use stdint.h instead of inttypes.h"José Fonseca1-1/+1
This reverts commit a77a6bc008b3146c56431fa520a00e1f8dfa3938.
2010-08-13glsl2: Refresh autogenerated bison parser.Kenneth Graunke1-114/+122
2010-08-13glsl2: Use stdint.h instead of inttypes.hIan Romanick1-1/+1
2010-08-12glsl2: Add missing include of string.hIan Romanick1-107/+108
Makes the build happy on non-GCC platforms.
2010-08-11glcpp: Fix "unterminated if" diagnostic.Carl Worth1-2/+0
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 Worth1-376/+393
Due to a recent change to glcpp-parse.y.
2010-08-11glcpp: Reword diagnostic for #elif with no expressionCarl Worth1-1/+1
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 Worth1-111/+133
After a recent change to glcpp-parse.y
2010-08-10glcpp: Regnerate glcpp-parse.c and glcpp-parse.hCarl Worth1-212/+220
After making a minor change to the .y file.
2010-08-04glcpp: Ignore #if and #elif expressions when skipping.Kenneth Graunke1-94/+108
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 Graunke1-124/+123
2010-08-04glcpp: Refresh autogenerated lexer and parser.Kenneth Graunke1-122/+130
2010-07-28glsl2: Actually fix glsl-version-define.Eric Anholt1-3/+0
2010-07-28glcpp: Add __VERSION__ define to the current language version.Eric Anholt1-475/+493
Fixes: glsl-version-define glsl-version-define-110 glsl-version-define-120
2010-07-28glcpp: Print integer tokens as decimal, not hex.Eric Anholt1-1/+1
2010-07-28glsl2: Add the define for ARB_fragment_coord_conventions when present.Eric Anholt1-0/+8
Fixes: glsl-arb-fragment-coord-conventions-define
2010-07-28glcpp: Add generated source files.Carl Worth1-0/+3957
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).