mosra / m.css

A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites
https://mcss.mosra.cz
Other
406 stars 92 forks source link

break when using c++ friend class #205

Closed Marco-Israel closed 2 years ago

Marco-Israel commented 3 years ago
class MyClass : ISomeInterface {

public:
MyClass();
~MyClass();
void somefunction(void);
...

frind class myFriend;
}

breaks when building doxygen mcss. Normal doxygen html without mcss can build.

Traceback (most recent call last):
  File ".../documentation/doxygen.py", line 3859, in <module>
    run(state, templates=os.path.abspath(args.templates), wildcard=args.wildcard, hindex_pages=args.index_pages, search_merge_subtrees=not args.search_no_subtree_merging, search_add_lookahead_barriers=not args.search_no_lookahead_barriers, search_merge_prefixes=not args.search_no_prefix_merging)
  File "../documentation/doxygen.py", line 3716, in run
    parsed = parse_xml(state, file)
  File ".../documentation/doxygen.py", line 2988, in parse_xml
    func = parse_func(state, memberdef)
  File "../documentation/doxygen.py", line 1965, in parse_func
    if signature.endswith('=default'):
AttributeError: 'NoneType' object has no attribute 'endswith'
crisluengo commented 3 years ago

Please try this pull request: https://github.com/mosra/m.css/pull/189

It is either the same issue or a very similar one.

mosra commented 2 years ago

(Sorry for embarrassingly late replies, finally got back to this project and to the final boss that is Doxygen.)

189 got merged as c7ee89e74cf96323b7bf14d4c7535b6867d57868, so this should be fixed now.