From 4ca08f56fb40f3a165d39defc3db1f26be87b3f6 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Sat, 24 Feb 2024 12:19:27 -0600 Subject: [PATCH] Run JuliaFormatter.format() Using JuliaFormatter v1.0.50 --- src/parser.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/parser.jl b/src/parser.jl index c5d4449..6aae722 100644 --- a/src/parser.jl +++ b/src/parser.jl @@ -13,7 +13,8 @@ base_Modelica_machine = let opt(opt(' ') * opt(description)) * endexpr variable = type * ' ' * name * ' ' * description * endexpr #parameter Real '[A-Za-z0-9._]+' ?(=? ?[\d]+\.?[\d]*)? ?("([A-Za-z0-9._ ]|\n)*")?; - equation_expr = re"[^Ripem;(\n|\r|\r\n)\t ][^!=;\"\t]+ ?= ?[^!=;\"\t]+" * opt(' ' * description) * + equation_expr = re"[^Ripem;(\n|\r|\r\n)\t ][^!=;\"\t]+ ?= ?[^!=;\"\t]+" * + opt(' ' * description) * endexpr equation_header = re"equation" initial_header = re"initial equation"