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