Skip to content

Commit

Permalink
Change grammar so that an annotation is always followed by semicolon
Browse files Browse the repository at this point in the history
This matches how annotations are placed in other parts of the grammar.
  • Loading branch information
henrikt-ma committed Oct 25, 2022
1 parent eb4c116 commit a7715a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions RationaleMCP/0031/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,14 @@ end _F;
## Clock partitions

> _base-partition_\
>   **partition** _comment_\
>   **partition** _string-comment_\
>   ( _annotation-comment_ **;** )?
>   _clock-clause_ **;**\
>   _sub-partition_*
> _sub-partition_\
>   **subpartition** _comment_\
>   **subpartition** _string-comment_\
>   ( _annotation-comment_ **;** )?
>   ( **discretization** _STRING_ **;** )?\
>   _clock-clause_ **;**\
>   ( **equation** ( _equation_ **;** )* \
Expand Down

0 comments on commit a7715a0

Please sign in to comment.