Improve performance of script validation commit
commit01f7cf2ef73d87e46edcfb3e561378551350db46
authorSteve Bennett <steveb@workware.net.au>
Fri, 2 Jan 2015 00:29:04 +0000 (2 10:29 +1000)
committerSteve Bennett <steveb@workware.net.au>
Fri, 16 Jan 2015 05:25:25 +0000 (16 15:25 +1000)
tree6341db0e960d4092661f7c4ca705217773263d95
parent7edde07972b9a43cd4e6305bd0e56b4a972ac8c3
Improve performance of script validation commit

Commit 7edde0797 inadvertently reduced performance of the
script evaluation fast path.

Rename Jim_GetScript() to JimGetScript() - always returns a script, even on parse failure.
Now JimValidScript() checks the script for parse error and generates the error message if necessary.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c