I am getting the following error in a script I have run a number of times. It is right in the middle of a section that gets a random number and assigns a punishment based on the number generated (1, 2, or 3)
"Error in simulation (maybe not a real error) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script 16681984293361719921327.groovy: 1609: unexpected token: } @ line 1609, column 1:
} ^ 1 error"
I have gone through section by section line by line and the brackets all have matching partners. This one is actually in the middle of the three options within this bracketed section so not sure why it would trigger an error versus the first or third option.
Any help appreciated.
|