From 1d89ac9575f6f89f1920518cd37bc1729c79c6f0 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 21 Aug 2018 17:22:54 +1000 Subject: [PATCH] hack: ignore preprocessor stringification --- src/compiler/glsl/glcpp/glcpp-lex.l | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/glsl/glcpp/glcpp-lex.l b/src/compiler/glsl/glcpp/glcpp-lex.l index 9cfcc120222..2edc56e3f58 100644 --- a/src/compiler/glsl/glcpp/glcpp-lex.l +++ b/src/compiler/glsl/glcpp/glcpp-lex.l @@ -420,8 +420,7 @@ HEXADECIMAL_INTEGER 0[xX][0-9a-fA-F]+[uU]? /* This will catch any non-directive garbage after a HASH */ {NONSPACE} { - BEGIN INITIAL; - RETURN_TOKEN (GARBAGE); + } /* An identifier immediately followed by '(' */ -- 2.17.1