- Temp fix for the GLSL yacc file (linux builds failing).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21130 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-04-11 22:38:16 +00:00
parent b51f62c573
commit 8e5425745f

View File

@ -1665,7 +1665,8 @@ layout_qualifier_id
} }
| SHARED { // because "shared" is both an identifier and a keyword | SHARED { // because "shared" is both an identifier and a keyword
$$.init($1.line); $$.init($1.line);
parseContext.setLayoutQualifier($1.line, $$, TString("shared")); TString strShared("shared");
parseContext.setLayoutQualifier($1.line, $$, strShared);
} }
; ;