Auto-format: no single-line functions

This commit is contained in:
Max Brunsfeld 2015-07-31 16:32:24 -07:00
parent e89ec7c85e
commit c18351772a
24 changed files with 243 additions and 77 deletions

View file

@ -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) };