From d15f73d14e72e5f697cae0bfa0ddb6624806a722 Mon Sep 17 00:00:00 2001 From: James Foucar Date: Wed, 8 Jul 2026 10:51:43 -0600 Subject: [PATCH] Fix unsafe comment Having a comment that ends in \ is not portable across different build systems due to the order and manner in which preprocessing is done. In some cases, like when using ninja, the \ can be interpreted as a line continuation which can silently remove the following line of code. --- columnphysics/icepack_shortwave.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/columnphysics/icepack_shortwave.F90 b/columnphysics/icepack_shortwave.F90 index af3f0f657..325a438bd 100644 --- a/columnphysics/icepack_shortwave.F90 +++ b/columnphysics/icepack_shortwave.F90 @@ -3343,7 +3343,7 @@ subroutine solution_dEdd ( & ! --------------------- k-1 ! k-1 ! --------------------- k - ! \\\\\\\ ocean \\\\\\\ + ! /////// ocean /////// trndir(k+1) = trndir(k)*trnlay(k) refkm1 = c1/(c1 - rdndif(k)*rdif_a(k))