Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples have missing parenthesis in LAYOUT_* macros #79

Closed
BenEAVE opened this issue Nov 11, 2020 · 1 comment
Closed

Samples have missing parenthesis in LAYOUT_* macros #79

BenEAVE opened this issue Nov 11, 2020 · 1 comment
Milestone

Comments

@BenEAVE
Copy link

BenEAVE commented Nov 11, 2020

It seems that the preprocessor has deprecated zero-argument macros without parenthesis in a recent version of PlantUML. So all of the samples that use LAYOUT_WITH_LEGEND or LAYOUT_LEFT_RIGHT fail to compile with a syntax error

@startuml Gives a lovely picture
!includeurl <C4/C4_Context.puml>

LAYOUT_WITH_LEGEND()

Person(admin, "Administrator")
@enduml

looks like this

@startuml Gives a syntax error
!includeurl <C4/C4_Context.puml>

LAYOUT_WITH_LEGEND

Person(admin, "Administrator")
@enduml

gives syntax error

I don't really fancy being the person to fix up all of the samples myself, but someone has to... I think this may also be the explanation for the issue described in #78

@BenEAVE
Copy link
Author

BenEAVE commented Nov 13, 2020

I see that this issue is a duplicate of #23

Closing

@BenEAVE BenEAVE closed this as completed Nov 13, 2020
@Potherca Potherca added this to the v2.0.0 milestone Apr 4, 2021
@Potherca Potherca moved this to Todo in All Projects Jul 3, 2022
@Potherca Potherca moved this from Todo to Done in All Projects Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants