Set closing block variable names

This commit is contained in:
Jan
2021-02-18 15:59:22 +01:00
parent bb877f87bb
commit 3c1599c1a0
11 changed files with 96 additions and 13 deletions

View File

@ -10,10 +10,13 @@ class SequenceCloseBlock final : public HeaderParser::sequence_t
static constexpr auto TAG_SEMICOLON = 1;
static constexpr auto CAPTURE_NAME = 1;
static constexpr auto CAPTURE_CLOSING_PARENTHESIS = 2;
bool m_semicolon_required;
protected:
void ProcessMatch(HeaderParserState* state, SequenceResult<HeaderParserValue>& result) const override;
public:
SequenceCloseBlock();
explicit SequenceCloseBlock(bool semicolonRequired);
};