From 9041b763ea9dbb94ee3574436217d13825c87a3f Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 15 Aug 2024 23:17:49 -0300 Subject: [PATCH] Remove unused bits of lexer config --- src/lexer.cr | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lexer.cr b/src/lexer.cr index 11f3c26..e30060e 100644 --- a/src/lexer.cr +++ b/src/lexer.cr @@ -47,9 +47,6 @@ module Tartrazine struct Lexer property config = { name: "", - aliases: [] of String, - filenames: [] of String, - mime_types: [] of String, priority: 0.0, case_insensitive: false, dot_all: false, @@ -169,9 +166,6 @@ module Tartrazine if config l.config = { name: xml_to_s(config, name) || "", - aliases: xml_to_a(config, _alias) || [] of String, - filenames: xml_to_a(config, filename) || [] of String, - mime_types: xml_to_a(config, mime_type) || [] of String, priority: xml_to_f(config, priority) || 0.0, not_multiline: xml_to_s(config, not_multiline) == "true", dot_all: xml_to_s(config, dot_all) == "true",