|
|
@ -113,7 +113,7 @@ std::optional<size_t> Parser::consumeIndex() |
|
|
|
|
|
|
|
|
|
|
|
switch (m_mode) { |
|
|
|
switch (m_mode) { |
|
|
|
case ArgumentIndexingMode::Automatic: { |
|
|
|
case ArgumentIndexingMode::Automatic: { |
|
|
|
VERIFY(consumeSpecific('}') || consumeSpecific(':'), "expecting '}' or ':', not '%c'", peek()); |
|
|
|
VERIFY(consumeSpecific(':') || peek() == '}', "expecting ':' or '}', not '%c'", peek()); |
|
|
|
return {}; |
|
|
|
return {}; |
|
|
|
} |
|
|
|
} |
|
|
|
case ArgumentIndexingMode::Manual: { |
|
|
|
case ArgumentIndexingMode::Manual: { |
|
|
|