From 04e5b0c42f92c6a91361698c4b987d70bc2c4dce Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 12 Apr 2011 11:29:01 +0200 Subject: [PATCH] shader-audit: detect broken nesting of braces --- scripts/shader-audit.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 07a3c2bf..ab8de907 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -211,6 +211,9 @@ parse_shaderstage() use_texture "$parsing_shader" "`normalize "$X"`" animmap done ;; + '{') + echo "(EE) brace nesting error in $parsing_shader"; seterror + ;; '}') break ;; -- 2.39.2