Mesa (master): glsl: Remove bogus "OUPTUT" token

Chris Forbes chrisf at kemper.freedesktop.org
Mon Aug 25 19:48:22 UTC 2014


Module: Mesa
Branch: master
Commit: 38a3490368f6f365890de11a5f2d983b40fbd243
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38a3490368f6f365890de11a5f2d983b40fbd243

Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Fri Aug 22 20:59:42 2014 +1200

glsl: Remove bogus "OUPTUT" token

This is never used. There is another token "OUTPUT" which the lexer can
generate, though. This has been around since the dawn of time; is most
likely a typo.

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>

---

 src/glsl/glsl_parser.yy |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy
index 4c87163..2f30b85 100644
--- a/src/glsl/glsl_parser.yy
+++ b/src/glsl/glsl_parser.yy
@@ -179,7 +179,7 @@ static bool match_layout_qualifier(const char *s1, const char *s2,
     */
 %token ASM CLASS UNION ENUM TYPEDEF TEMPLATE THIS PACKED_TOK GOTO
 %token INLINE_TOK NOINLINE PUBLIC_TOK STATIC EXTERN EXTERNAL
-%token LONG_TOK SHORT_TOK DOUBLE_TOK HALF FIXED_TOK UNSIGNED INPUT_TOK OUPTUT
+%token LONG_TOK SHORT_TOK DOUBLE_TOK HALF FIXED_TOK UNSIGNED INPUT_TOK
 %token HVEC2 HVEC3 HVEC4 DVEC2 DVEC3 DVEC4 FVEC2 FVEC3 FVEC4
 %token SAMPLER3DRECT
 %token SIZEOF CAST NAMESPACE USING




More information about the mesa-commit mailing list