diff options
author | Carl Worth <[email protected]> | 2010-08-10 16:52:54 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2010-08-10 16:52:54 -0700 |
commit | 60d8c46995aa9cf3f80592b9c9bb8e5be6e87502 (patch) | |
tree | b8ade9be50cd80d499e9f49f3ca002022017bed0 /src/glsl/glsl_parser.h | |
parent | 0ff3b2b344b21ae4a7b62ebba22d7358755c8dfe (diff) |
glsl2: Initialize location structure at beginning of parse.
Since we have a custom structure for YYLTYPE locations, we need to use
an %initial-action directive to avoid triggering use of uninitialized
memory when, for example, printing error messages.
Thanks to valgrind for noticing this bug.
Diffstat (limited to 'src/glsl/glsl_parser.h')
0 files changed, 0 insertions, 0 deletions