From 9e3fdb3a7480f3ec44b6c259a3aabe30b5243938 Mon Sep 17 00:00:00 2001 From: Alexey Dubovskoy Date: Wed, 10 Nov 2021 18:25:26 +0000 Subject: [PATCH] Symmetry --- EBNF.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EBNF.md b/EBNF.md index ab3b417..f4ad6ff 100644 --- a/EBNF.md +++ b/EBNF.md @@ -10,16 +10,16 @@ step = { text item | ingredient | cookware | timer }, new line character ; ingredient = one word ingredient | multiword ingredient ; -one word ingredient = "@", ( word, [ "{", { white space }, [ amount ], { white space }, "}" ]) ; +one word ingredient = "@", ( word, [ "{", { white space }, [ amount ], { white space }, "}" ] ) ; multiword ingredient = "@", ( word, multiword, "{", { white space }, [ amount ], { white space }, "}" ) ; cookware = one word cookware | multiword cookware ; -one word cookware = "#", ( word, [ "{", { white space }, [ quantity ], { white space }, "}" ]) ; +one word cookware = "#", ( word, [ "{", { white space }, [ quantity ], { white space }, "}" ] ) ; multiword cookware = "#", ( word, multiword, "{", { white space }, [ quantity ], { white space }, "}" ) ; timer = no name timer | one word timer | multiword timer ; no name timer = "~", ( "{", { white space }, [ amount ], { white space }, "}" ) ; -one word timer = "~", ( word, [ "{", { white space }, [ amount ], { white space }, "}" ]) ; +one word timer = "~", ( word, [ "{", { white space }, [ amount ], { white space }, "}" ] ) ; multiword timer = "~", ( word, multiword, "{", { white space }, [ amount ], { white space }, "}" ) ; (* '%' separator will be changed soon to '*' *)