- This topic has 1 reply, 2 voices, and was last updated 13 years, 9 months ago by .
-
Topic
-
I don’t know if anyone else has run into this yet, but we are in the process of testing Cloverleaf 5.7 (upgrading from 5.4) and we ran into this interesting error when testing some of our TPS procs. Code:errorInfo: ‘
extra switch pattern with no body
while executing
“switch -exact — $mode {
start {The problem turned out to be comments embedded between the switch bodies like this:
Code:switch -exact — $mode {
start {
…code here…
} ;# End of Start Sectionrun {
…run code here…
} ;# End of Run Sectionshutdown {
…shutdown code here…
} ;# End of Shutdown Sectiondefault {
}We removed the comments “;# End of
Section” that fell after the end of one section but before the next section and that fixed the problem.
Viewing 0 reply threads
Viewing 0 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.