diff options
| author | Delapouite <delapouite@gmail.com> | 2018-04-06 16:56:53 +0200 |
|---|---|---|
| committer | Delapouite <delapouite@gmail.com> | 2018-04-06 16:56:53 +0200 |
| commit | cb02186c77e307922a92176893d8a323641dacaf (patch) | |
| tree | 5e363e2adf794ff74fc00a96d4d01abff950b540 /src/highlighter_group.cc | |
| parent | 4ff0c58518228ab114bf1167c14dadc6ee2212c3 (diff) | |
Make error messages more consistent
Diffstat (limited to 'src/highlighter_group.cc')
| -rw-r--r-- | src/highlighter_group.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlighter_group.cc b/src/highlighter_group.cc index 45e3e4e2..f7758be0 100644 --- a/src/highlighter_group.cc +++ b/src/highlighter_group.cc @@ -27,7 +27,7 @@ void HighlighterGroup::fill_unique_ids(Vector<StringView>& unique_ids) const void HighlighterGroup::add_child(HighlighterAndId&& hl) { if ((hl.second->passes() & passes()) != hl.second->passes()) - throw runtime_error{"Cannot add that highlighter to this group, passes don't match"}; + throw runtime_error{"cannot add that highlighter to this group, passes don't match"}; hl.first = replace(hl.first, "/", "<slash>"); |
