Skip to content

Commit

Permalink
Fix #1192: Compiler error when MXSTACK increased
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rtownson committed Sep 27, 2024
1 parent f74802f commit 722745f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HEN_HOUSE/src/egsnrc.mortran
Original file line number Diff line number Diff line change
Expand Up @@ -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 ');
]
};
Expand Down

0 comments on commit 722745f

Please sign in to comment.