| 5697 | } |
| 5698 | |
| 5699 | void TParseContext::arrayOfArrayVersionCheck(const TSourceLoc& loc, const TArraySizes* sizes) |
| 5700 | { |
| 5701 | if (sizes == nullptr || sizes->getNumDims() == 1) |
| 5702 | return; |
| 5703 | |
| 5704 | const char* feature = "arrays of arrays"; |
| 5705 | |
| 5706 | requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature); |
| 5707 | profileRequires(loc, EEsProfile, 310, nullptr, feature); |
| 5708 | profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature); |
| 5709 | } |
| 5710 | |
| 5711 | // |
| 5712 | // Do all the semantic checking for declaring or redeclaring an array, with and |