definelong requires extra { charater

0 votes
asked Dec 2 in bug by hukameniz (680 points)

PlantUML version 1.2017.19 (Sun Nov 12 12:46:22 CET 2017)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_151-8u151-b12-1~deb9u1-b12
Operating System: Linux
OS Version: 4.9.0-4-amd64
Default Encoding: UTF-8
Language: en
Country: US
Machine: debian
PLANTUML_LIMIT_SIZE: 4096
Processors: 4
Max Memory: 734,527,488
Total Memory: 50,331,648
Free Memory: 46,070,064
Used Memory: 4,261,584
Thread Active Count: 1

The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK

This code generates a syntax error:

!definelong TABLE(name)
entity name
!enddefinelong

TABLE(house) {
   * mandatory_attribute **in bold**
   **optional_attribute**
}

This code works:

!definelong TABLE(name)
entity name {
!enddefinelong

TABLE(house)
   * mandatory_attribute **in bold**
   **optional_attribute**
}

1 Answer

0 votes
answered 4 days ago by plantuml (135,550 points)
Many thanks for the report.

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar
...