From 79df29e8fdf4f496cd69ee705c07dd270ae2c129 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 29 Nov 2020 05:58:11 +0100 Subject: [PATCH] Remove some dead functions in the highlighter These are replaced by "visit" methods. --- src/highlight.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/highlight.cpp b/src/highlight.cpp index ef980e484..5eccd8032 100644 --- a/src/highlight.cpp +++ b/src/highlight.cpp @@ -794,10 +794,6 @@ class highlighter_t { void color_command(const ast::string_t &node); // Color a node as if it were an argument. void color_as_argument(const ast::node_t &node); - // Color a redirection. - void color_redirection(const ast::redirection_t &node); - // Color all the children of the command with the given type. - void color_children(const ast::node_t &parent, ast::type_t type, highlight_spec_t color); // Colors the source range of a node with a given color. void color_node(const ast::node_t &node, highlight_spec_t color); // Colors a range with a given color.