Cleanup some trailing whitespaces and double semicolon

This commit is contained in:
Maxime Coste 2018-07-26 21:56:34 +10:00
parent 737807dde2
commit 7cf3cbde8e
7 changed files with 7 additions and 7 deletions

View File

@ -497,7 +497,7 @@ std::unique_ptr<Highlighter> create_dynamic_regex_highlighter(HighlighterParamet
std::decay_t<decltype(face_getter)>>>(
std::move(regex_getter), std::move(face_getter));
};
auto get_face = [faces](const Context& context){ return faces;; };
auto get_face = [faces](const Context& context){ return faces; };
CommandParser parser{params[0]};
auto token = parser.read_token(true);

View File

@ -368,7 +368,7 @@ private:
if (pos == config.end)
return StepResult::Failed;
return is_ctype((CharacterType)inst.param, *pos) ?
StepResult::Consumed : StepResult::Failed;;
StepResult::Consumed : StepResult::Failed;
case CompiledRegex::LineStart:
if (not is_line_start(pos, config))
return StepResult::Failed;