Auto-format: no single-line functions
This commit is contained in:
parent
e89ec7c85e
commit
c18351772a
24 changed files with 243 additions and 77 deletions
|
|
@ -211,9 +211,13 @@ class PatternParser {
|
|||
iter += lookahead_size;
|
||||
}
|
||||
|
||||
uint32_t peek() { return lookahead; }
|
||||
uint32_t peek() {
|
||||
return lookahead;
|
||||
}
|
||||
|
||||
bool has_more_input() { return lookahead && iter <= end; }
|
||||
bool has_more_input() {
|
||||
return lookahead && iter <= end;
|
||||
}
|
||||
|
||||
pair<rule_ptr, const GrammarError *> error(string msg) {
|
||||
return { blank(), new GrammarError(GrammarErrorTypeRegex, msg) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue