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"