Fix #1879: Check for valid variable before checking for unsized arrays.
authorJohn Kessenich <cepheus@frii.com>
Thu, 5 Sep 2019 08:26:39 +0000 (02:26 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 5 Sep 2019 08:30:27 +0000 (02:30 -0600)
commit664ad418f8455159fb066e9e27d159f191f976a9
tree789613220551219038a88ca7b7814f3b81de9504
parent34953810a62c5230cc059cfdf42dc44c5aab2246
Fix #1879: Check for valid variable before checking for unsized arrays.

The order of error checking was not quite being correct (maybe there is no correct
ordering, when many checks must be done and they affect each other).
So, check for block-name reuse twice.
Test/150.frag
Test/baseResults/150.frag.out
glslang/Include/Types.h
glslang/MachineIndependent/ParseHelper.cpp