introduce new --dump-builtin-symbols command line

add corresponding EShMsgBuiltinSymbolTable
TSymbol::dump functions have option to do "complete" print
bugfix in TType::getCompleteString, structure can be null for block
This commit is contained in:
Christoph Kubisch 2019-04-13 22:18:16 +02:00
parent 0527c9db81
commit 55ba3eaf89
6 changed files with 82 additions and 19 deletions

View file

@ -2018,7 +2018,7 @@ public:
}
// Add struct/block members
if (isStruct()) {
if (isStruct() && structure) {
appendStr("{");
for (size_t i = 0; i < structure->size(); ++i) {
if (! (*structure)[i].type->hiddenMember()) {