This repository was archived by the owner on Mar 28, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
main/java/com/structurizr/dsl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77- structurizr-component: Adds ` ImplementationWithSuffixSupportingTypesStrategy ` .
88- structurizr-dsl: Adds ` supportingTypes implementation-prefix <prefix> ` .
99- structurizr-dsl: Adds ` supportingTypes implementation-suffix <suffix> ` .
10+ - structurizr-dsl: Fixes https://github.com/structurizr/java/issues/346 (` // comment \ ` joins lines).
1011
1112## 3.0.0 (19th September 2024)
1213
Original file line number Diff line number Diff line change @@ -1069,7 +1069,7 @@ private List<DslLine> preProcessLines(List<String> lines) {
10691069 boolean lineComplete = true ;
10701070
10711071 for (String line : lines ) {
1072- if (line .endsWith (MULTI_LINE_SEPARATOR )) {
1072+ if (! COMMENT_PATTERN . matcher ( line ). matches () && line .endsWith (MULTI_LINE_SEPARATOR )) {
10731073 buf .append (line , 0 , line .length ()-1 );
10741074 lineComplete = false ;
10751075 } else {
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ workspace "Name" "Description" {
2727 !impliedRelationships "com.structurizr.model.CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy"
2828 !impliedRelationships true
2929
30+ // single line comment with long line split character \
3031 properties {
3132 "Name" "Value"
3233 }
You can’t perform that action at this time.
0 commit comments