Initial work towards rewriting detect_errors to use new parser.

Low-level tests currently pass; high level tests fail.
This commit is contained in:
ridiculousfish
2013-12-11 18:34:28 -08:00
parent 383b6aabf5
commit d5d9b9284a
7 changed files with 316 additions and 28 deletions

View File

@@ -2089,8 +2089,9 @@ const highlighter_t::color_array_t & highlighter_t::highlight()
case symbol_decorated_statement:
case symbol_if_statement:
{
// Color the 'end'
this->color_children(node, parse_token_type_string, HIGHLIGHT_COMMAND);
// Color the 'end'
this->color_children(node, symbol_end_command, HIGHLIGHT_COMMAND);
}
break;