From ac580c8aff36f098a815a1d2cb1d19e6a724e7a4 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Fri, 31 May 2024 11:43:51 +0200 Subject: [PATCH] Allow line continuation in event_definition --- src/main/java/com/github/dweindl/intellijantimony/Antimony.bnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/dweindl/intellijantimony/Antimony.bnf b/src/main/java/com/github/dweindl/intellijantimony/Antimony.bnf index ee27654..b8277ac 100644 --- a/src/main/java/com/github/dweindl/intellijantimony/Antimony.bnf +++ b/src/main/java/com/github/dweindl/intellijantimony/Antimony.bnf @@ -140,7 +140,7 @@ stoichiometry ::= number_literal species_id ::= identifier rate_expr ::= expr -event_definition ::= event_trigger ":" event_assignments (SEMI | EOL) +event_definition ::= event_trigger ":" (BACKSLASH EOL)* event_assignments (SEMI | EOL) event_trigger ::= "at" expr event_assignments ::= event_assignment ("," event_assignment)* event_assignment ::= identifier EQ expr