repeat empty lines to preserve formatting in cat'ed models

This commit is contained in:
NunoSempere 2024-07-10 18:11:51 -04:00
parent be6df15ab5
commit 7807165dbf

1
f.go
View File

@ -364,6 +364,7 @@ replForLoop:
switch { switch {
case strings.TrimSpace(new_line_trimmed) == "": /* Empty line case */ case strings.TrimSpace(new_line_trimmed) == "": /* Empty line case */
fmt.Println()
continue replForLoop continue replForLoop
/* Parenthesis */ /* Parenthesis */
case len(words) == 2 && (words[0] == "*" || words[0] == "+" || words[0] == "-" || words[0] == "/") && words[1] == "(": case len(words) == 2 && (words[0] == "*" || words[0] == "+" || words[0] == "-" || words[0] == "/") && words[1] == "(":