glcpp: Reword diagnostic for #elif with no expression
authorCarl Worth <cworth@cworth.org>
Wed, 11 Aug 2010 20:50:51 +0000 (13:50 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 11 Aug 2010 21:38:03 +0000 (14:38 -0700)
commit624dd585c72103e5bffbc600cdf7bdfba5305a15
tree74dc724192433a6b750126050bc5a8c2024068b3
parentcb5ea0c79bd74ea6263d54302ed19c243ceb05de
glcpp: Reword diagnostic for #elif with no expression

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.
src/glsl/glcpp/glcpp-parse.c
src/glsl/glcpp/glcpp-parse.y
src/glsl/glcpp/tests/081-elif-without-expression.c.expected