add braces to silence warnings
diff --git a/src/mesa/shader/grammar.c b/src/mesa/shader/grammar.c
index 09e0920..3bf67cc 100644
--- a/src/mesa/shader/grammar.c
+++ b/src/mesa/shader/grammar.c
@@ -2772,7 +2772,9 @@
                             }
 
     if (p)
-        while (*p)
+	{
+		while (*p)
+		{
             if (*p == '$')
             {
                 const byte *r = error_param;
@@ -2790,7 +2792,8 @@
                 APPEND_CHARACTER(*p)
                 p++;
             }
-
+		}
+	}
     *pos = error_position;
 
 #undef APPEND_CHARACTER