Home | History | Annotate | Download | only in compiler

Lines Matching refs:structure

364                 context->error($2.line, "structure has no fields", "Internal Error", "");
384 // change the qualifier of the return type, not of the structure field
385 // as the structure definition is shared between various structures.
396 context->error($2.line, " no such field in structure", $3.string->c_str(), "");
402 context->error($2.line, " field selection requires structure, vector, or matrix on left hand side", $3.string->c_str(), "");
1636 TType& structure = static_cast<TVariable*>($1.symbol)->getType();
1639 $$.userDef = &structure;
1648 TType* structure = new TType($4, *$2.string);
1649 TVariable* userTypeDef = new TVariable($2.string, *structure, true);
1655 $$.userDef = structure;
1658 TType* structure = new TType($3, TString(""));
1660 $$.userDef = structure;
1673 context->error((*$2)[i].line, "duplicate field name in structure:", "struct", (*$2)[i].type->getFieldName().c_str());