From 286a096651bdcb41e92fa3b50799d76948f5e429 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 31 Jul 2025 18:27:27 -0400 Subject: [PATCH] Apply JuliaFormatter code formatting updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Run JuliaFormatter on codebase to standardize formatting - Update parser.jl with consistent line formatting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/parser.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/parser.jl b/src/parser.jl index ab8416d..1efb8c5 100644 --- a/src/parser.jl +++ b/src/parser.jl @@ -528,8 +528,7 @@ spc = Drop(Star(Space())) Star((E"elseif" > BMIf) + spc + expression + (E"then" > BMThen) + spc + Star(spc + equation + E";") ) + spc + - ((E"else" > BMIf) + spc + - Star(spc + equation + E";") + ((E"else" > BMIf) + spc + Star(spc + equation + E";") )[0:1] + spc + E"end if" |> BaseModelicaIfEquation @@ -564,8 +563,7 @@ spc = Drop(Star(Space())) Star(statement + E";") + NL + Star(E"elseif" + expression + E"then" + NL + Star(statement + E";")) + - (E"else" + NL + - Star(statement + E";"))[0:1] + NL + + (E"else" + NL + Star(statement + E";"))[0:1] + NL + E"end if" statement.matcher = decoration[0:1] +