From: Rudolf Polzer Date: Tue, 12 Apr 2011 09:29:01 +0000 (+0200) Subject: shader-audit: detect broken nesting of braces X-Git-Tag: xonotic-v0.5.0~95^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=04e5b0c42f92c6a91361698c4b987d70bc2c4dce;p=xonotic%2Fxonotic-maps.pk3dir.git shader-audit: detect broken nesting of braces --- 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 ;;