Skip to content

Commit

Permalink
simplify grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
bryankenote committed Jan 6, 2025
1 parent 7a13655 commit 952c849
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 27 deletions.
36 changes: 10 additions & 26 deletions src/main/gen/io/github/facilityapi/intellij/parser/FsdParser.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/kotlin/io/github/facilityapi/intellij/fsd.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
definition ::= (attribute_list* service_spec) markdown_remarks*

service_spec ::= service identifier service_items { pin=1 }
service_items ::= ('{' decorated_service_item* '}') | (';' decorated_service_item* &('#' | <<eof>>)) | decorated_service_item
service_items ::= ('{' decorated_service_item* '}') | ([';'] decorated_service_item*)
decorated_service_item ::= attribute_list* service_item
private service_item ::= (extern_decl | enum_spec | data_spec | method_spec | error_set_spec) { recoverWhile=service_item_recover }
private service_item_recover ::= !('[' | '}' | extern | enum | data | errors | method)
Expand Down

0 comments on commit 952c849

Please sign in to comment.