Skip to content

Commit

Permalink
Annotation keys without values are allowed for boolean annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
esjewett committed Jan 2, 2020
1 parent 4f26f80 commit 9ad7d6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ABAPCDS.g4
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ annotation_right_side

annotation
: ANNOTATIONKEY ANNOTATIONSEPERATOR WS* annotation_right_side
| ANNOTATIONKEY // For boolean annotations it is technically allowed to specify only the key
;

parameter
Expand Down
2 changes: 2 additions & 0 deletions examples/example.asddls
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ define view /MINDSET/I_ERROR_LOG
_User[1:Language = $session.system_language].FullName,

Channel,

@Semantics.text
ErrorText,
ErrorComponent,
ErrorPackage,
Expand Down

0 comments on commit 9ad7d6c

Please sign in to comment.