HLSL: Grammar: Generalize accepting a declaration to accept an aggregate of subtrees.
authorJohn Kessenich <cepheus@frii.com>
Wed, 8 Mar 2017 03:44:09 +0000 (20:44 -0700)
committerJohn Kessenich <cepheus@frii.com>
Wed, 8 Mar 2017 03:44:09 +0000 (20:44 -0700)
commitca71d946d75abe70bead7549f9d0349196c7c4b6
tree5dfd6f0e5c201886b6daf29430494a0eb6670f73
parent057df2935af80b2349e5f2cd92a39ca96dc6e0d5
HLSL: Grammar: Generalize accepting a declaration to accept an aggregate of subtrees.

This is slightly cleaner today for entry-point wrapping, which sometimes made
two subtrees for a function definition instead of just one subtree.  It will be
critical though for recognizing a struct with multiple member functions.
glslang/Include/revision.h
glslang/MachineIndependent/Intermediate.cpp
hlsl/hlslGrammar.cpp
hlsl/hlslGrammar.h
hlsl/hlslParseHelper.cpp