-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Milestone
Description
If you generate a mermaid diagram from the following code
class Foo {
public:
Foo(void* parent = {}) {}
};
int main() {}
You get the following mermaid:
classDiagram
class C_0017490737515057045975["Foo"]
class C_0017490737515057045975 {
+Foo(void * parent = {}) : void
}
That is invalid with:
Diagram syntax error
Error: Error: Parse error on line 4:
...Foo(void * parent = {}) : void }
-----------------------^
Expecting 'STRUCT_STOP', 'MEMBER', got 'OPEN_IN_STRUCT'
I'm not sure if those { and } characters can be escaped...