diff --git a/crates/make/src/makepdf_structs.rs b/crates/make/src/makepdf_structs.rs index f11bc83..b8789b1 100644 --- a/crates/make/src/makepdf_structs.rs +++ b/crates/make/src/makepdf_structs.rs @@ -234,10 +234,10 @@ pub(super) enum LineType { /// Glossary will not be built #[token("This document will not have a glossary.")] - #[token("Remove \\makeglossaries if you don't want any glossaries.")] + #[token("Remove .makeglossaries if you don't want any glossaries.")] NoGlossary, - #[regex(r"No file [^$]\.gls\.", |_| "".to_string())] + #[regex(r"No file [^$]+\.gls\.", |_| "".to_string())] /// The glossary file wasn't found NoGlossaryFile(String), diff --git a/crates/monsters/src/monster_export.rs b/crates/monsters/src/monster_export.rs index 0e5011b..51b8811 100644 --- a/crates/monsters/src/monster_export.rs +++ b/crates/monsters/src/monster_export.rs @@ -49,7 +49,6 @@ fn load_templates(config: &Config) -> Result> { template_load!(templates, &config.monster, resists_row); template_load!(templates, &config.monster, stats); template_load!(templates, &config.monster, phase_row); - // template_load!(templates, &config.monster, attack_color); template_load!(templates, &config.monster, attack_repeatable_row); template_load!(templates, &config.monster, attack_info_row); template_load!(templates, &config.monster, intent_table); @@ -253,11 +252,6 @@ fn number_of_description(monster_first_atk: &&MonsterSingleAttack) -> usize { } } #[derive(Serialize)] -struct Coloring<'a> { - color: &'a str, - // size: usize, -} -#[derive(Serialize)] struct PhaseName<'a> { phase_name: &'a String, }