summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/glcpp-parse.c
AgeCommit message (Collapse)Author
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).