- 13 Aug, 2010 4 commits
-
-
José Fonseca authored
-
José Fonseca authored
Based on Aras Pranckevičius' patch.
-
José Fonseca authored
-
Ian Romanick authored
-
- 12 Aug, 2010 10 commits
-
-
Ian Romanick authored
-
Brian Paul authored
-
Ian Romanick authored
-
Ian Romanick authored
Makes the build happy on non-GCC platforms.
-
Jakob Bornecrantz authored
New shader compiler need libc++ runtime. This works already if we are using llvm so this just covers the !llvm case.
-
Ian Romanick authored
Remove --never-interactive because it is already specified in the source using %option. Use -o instead of --outfile. Some of the %option commands may also need to be removed for compatibility with older versions (e.g., 2.5.4) of flex. This should fix bugzilla #29209.
-
Ian Romanick authored
-
Ian Romanick authored
Bison version 2.3 doesn't seem to support %name-prefix in the source. This should fix bugzilla #29207.
-
Ian Romanick authored
-
Ian Romanick authored
Without this, the parser will generate obtuse, useless error diagnostics when reservered word that are not used by the grammar are encountered in a shader. Fixes bugzilla #29519.
-
- 11 Aug, 2010 25 commits
-
-
Ian Romanick authored
Accidentally having a variable called 'sig' within an if-statement cause the higher scope 'sig' to always be NULL. As a result a new function signature was created for a function definition even when one already existed from a prototype declaration. Fixes piglit test case glsl-function-prototype (bugzilla #29520).
-
Carl Worth authored
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.
-
Carl Worth authored
Due to a recent change to glcpp-parse.y.
-
Carl Worth authored
This is more clear than the previously-generated diagnostic which was something confusing like "enexpected newline". This change makse test 080-if-witout-expression.c now pass.
-
Carl Worth authored
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.
-
Carl Worth authored
Which are proving to be useful since some of these tests are not yet acting as desired, (in particular, the unterminated if test is not generating any diagnostic).
-
Carl Worth authored
After a recent change to glcpp-lex.l
-
Carl Worth authored
Error messages make more sense this way since the convention is for the first line of a file to be numbered from 1, rather than 0.
-
Carl Worth authored
This allows writing tests that verify diagnostics from the preprocessor.
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Carl Worth authored
The glcpp-test script was leaving around bogus *.valgrind-errors files if a valgrind test was interrupted.
-
Carl Worth authored
After a recent change to glcpp-parse.y
-
Carl Worth authored
This adds a couple of test cases to expand our coverage of invalid #if and being skipped, (either by being nested inside an #if/#elif that evaluates to zero or by being after an #if/#elif that evaluates to non-zero).
-
Kenneth Graunke authored
-
Kenneth Graunke authored
-
Carl Worth authored
We're already using the return-value of cmp to print either PASS or FAIL and in the case of failure, we're subsequently running and showing the output of diff. So any warnings/errors from cmp itself are not actually needed, and can be quite confusing.
-
Carl Worth authored
Commit d4a04f31 caused this test case to produce an additional blank line, which is otherwise harmless, but does need to be reflected in the .expected file for the test to pass.
-
- 10 Aug, 2010 1 commit
-
-
Carl Worth authored
After making a minor change to the .y file.
-