From 722745fe8c5e2bd2324d7cde84aed4fd6066b8f6 Mon Sep 17 00:00:00 2001 From: Reid Townson Date: Fri, 27 Sep 2024 11:04:05 -0400 Subject: [PATCH] Fix #1192: Compiler error when MXSTACK increased Fix a compiler error that occurred when MXSTACK was increased to 1e7 or higher. This was due to the line length of an output statement flowing over 80 characters. The fix was just to split the line, so that more characters are available. --- HEN_HOUSE/src/egsnrc.mortran | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HEN_HOUSE/src/egsnrc.mortran b/HEN_HOUSE/src/egsnrc.mortran index 93a04508c..35fe8a562 100644 --- a/HEN_HOUSE/src/egsnrc.mortran +++ b/HEN_HOUSE/src/egsnrc.mortran @@ -6010,7 +6010,8 @@ REPLACE {$CHECK-RELAX-STACK(#,#);} WITH {; ' min_E = ', min_E,' iq = ',iqf); ; "---------- BUFFER FLUSH SEMICOLON ----------" $egs_fatal('(//,3a,/,2(a,i9),/,a)',' In subroutine ',{P2}, - ' stack size exceeded! ',' $MXSTACK = ',$MXSTACK,' np = ',{P1}, + ' stack size exceeded! ',' $MXSTACK = ', + $MXSTACK,' np = ',{P1}, ' Increase $MXSTACK and try again '); ] };