From a39af67987036732468c95087191562780a518de Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Wed, 21 Jun 2023 00:51:39 +0200 Subject: [PATCH] Fixed comment_parser option handling --- src/config/yaml_decoders.cc | 2 +- tests/test_config_data/simple.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/yaml_decoders.cc b/src/config/yaml_decoders.cc index 50e22376..3bb491c1 100644 --- a/src/config/yaml_decoders.cc +++ b/src/config/yaml_decoders.cc @@ -510,7 +510,6 @@ template <> struct convert { get_option(node, rhs.relationship_hints); get_option(node, rhs.type_aliases); get_option(node, rhs.relative_to); - get_option(node, rhs.comment_parser); rhs.initialize_relationship_hints(); rhs.initialize_type_aliases(); @@ -713,6 +712,7 @@ template <> struct convert { get_option(node, rhs.generate_links); get_option(node, rhs.generate_system_headers); get_option(node, rhs.git); + get_option(node, rhs.comment_parser); get_option(node, rhs.debug_mode); get_option(node, rhs.generate_metadata); rhs.base_directory.set(node["__parent_path"].as()); diff --git a/tests/test_config_data/simple.yml b/tests/test_config_data/simple.yml index caddba45..63d16f10 100644 --- a/tests/test_config_data/simple.yml +++ b/tests/test_config_data/simple.yml @@ -1,4 +1,5 @@ compilation_database_dir: debug +comment_parser: clang output_directory: output diagrams: class_main: @@ -6,7 +7,6 @@ diagrams: glob: - src/**/*.cc - src/**/*.h - comment_parser: clang using_namespace: clanguml generate_method_arguments: full generate_packages: true