From 3e23b44dee9518d58066fd45f74a9e4b0ec5cb14 Mon Sep 17 00:00:00 2001 From: Jochen Hoenle <173445474+hoe-jo@users.noreply.github.com> Date: Tue, 28 Jul 2026 11:33:58 +0200 Subject: [PATCH] [plantuml tooling] fix title in component diagram --- plantuml/parser/puml_parser/src/grammar/component.pest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plantuml/parser/puml_parser/src/grammar/component.pest b/plantuml/parser/puml_parser/src/grammar/component.pest index beb01638..f438be49 100644 --- a/plantuml/parser/puml_parser/src/grammar/component.pest +++ b/plantuml/parser/puml_parser/src/grammar/component.pest @@ -15,7 +15,7 @@ diagram_start = { empty_line* ~ startuml ~ (diagram_statement | empty_line)* ~ enduml } -diagram_statement = { ((relation | together_block | port_declaration | element | footer_line) ~ EOL) } +diagram_statement = { ((ignored_stmt | relation | together_block | port_declaration | element | footer_line) ~ EOL) } port_declaration = { port_keyword ~ port_name ~ alias_clause? } port_keyword = @{ "portin" | "portout" | "port" }