| 192 | } |
| 193 | |
| 194 | void Instance::FinishKeyword() |
| 195 | { |
| 196 | ParserState const& state = this->GetState(); |
| 197 | if (!state.DoneWithPositional) { |
| 198 | return; |
| 199 | } |
| 200 | |
| 201 | if (state.KeywordValuesSeen < state.KeywordValuesExpected) { |
| 202 | if (this->ParseResults) { |
| 203 | this->ParseResults->AddKeywordError(state.Keyword, |
| 204 | " missing required value\n"); |
| 205 | } |
| 206 | if (state.Bindings.KeywordMissingValue) { |
| 207 | state.Bindings.KeywordMissingValue(*this, state.Keyword); |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | bool ParseResult::MaybeReportError(cmMakefile& mf) const |
| 213 | { |
no test coverage detected