GLSL: Fix #822: Improve information given for syntax errors.
Also, fixed one test file that didn't have its syntax error as the last line.
This commit is contained in:
parent
0c6f9360f5
commit
ba5cc2fafa
15 changed files with 2788 additions and 3072 deletions
|
|
@ -63,6 +63,8 @@ using namespace glslang;
|
|||
|
||||
%}
|
||||
|
||||
%define parse.error verbose
|
||||
|
||||
%union {
|
||||
struct {
|
||||
glslang::TSourceLoc loc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue