Re: [Mesa-dev] [PATCH 2/2] glsl: Don't choke on an empty pragma

2014-06-13 Thread Kenneth Graunke
On Friday, June 13, 2014 04:04:44 PM Carl Worth wrote: > The lexer was insisting that there be at least one character after "#pragma" > and before the end of the line. This caused an error for a line consisting > only of "#pragma" which volates at least the following sentence from the GLSL > ES Sp

[Mesa-dev] [PATCH 2/2] glsl: Don't choke on an empty pragma

2014-06-13 Thread Carl Worth
The lexer was insisting that there be at least one character after "#pragma" and before the end of the line. This caused an error for a line consisting only of "#pragma" which volates at least the following sentence from the GLSL ES Specification 3.00.4: The scope as well as the effect of