user error in input script throws system exception rather than helpful advice
The following input script has a user error:
test
end
From the birth of Cloudy through C17 the parser has tried to help the human do astrophysics. The trunk has been modified so that this mistake produces no output at all, rather, after a long time, a system exception is thrown:
line 1: 12088 Abort trap: 6 /Users/gary/cloudy/trunk/source/sys_llvm/cloudy.exe -r $1 2> $1.err
The user would have to use gdb and catch the exception to discover what they did wrong. This behavior is to be contrasted with versions up through c17 which produced this output and no system exception:
* *
* test *
* end *
Unrecognized command. Key="END ". This is routine ParseCommands.
The line image was
==end ==
Sorry.
[Stop in CommandError at ../parser.cpp:271, something went wrong]