EBNF - Allow empty definition

+2 votes
asked Oct 16, 2022 in Wanted features by The-Lu (62,880 points)

Hello PlantUML team,

  • Could you allow empty definition?

Here is a example (taken from §8.2 of the ISO EBNF standard):

@startebnf
title See example of §8.2 of ISO-EBNF
empty = ;
@endebnf

Just print a horizontal line without anything.

Thank for the improvement,
Regards.

related to an answer for: Could we add syntax diagrams?

1 Answer

0 votes
answered Oct 20, 2022 by The-Lu (62,880 points)
selected Oct 20, 2022 by The-Lu
 
Best answer

Hello PlantUML team,

With last Snapshot (~v1.2022.10beta1+) it seems good.

Thanks a lot for your work,
Regards.

commented Oct 20, 2022 by Todd Musheno (2,680 points)
Agreed looking good
commented Oct 22, 2022 by Todd Musheno (2,680 points)
The-lu I think you can close this ticket
...