added fixes for #1415 and #1483, made sure every read_file_text had a corresponding setjmp, and sync'd the parse error messages between HEAD and stable

This commit is contained in:
Goober5000 committed 2007-09-02 02:10:29 +00:00
1 parent c314641a80
commit 6ab0b17acc
47 files changed
+837 -577

No files matched your search

+4 -6
View File
@@ -27,14 +27,12 @@ int script_test(script_state *st)
int rval;
if ((rval = setjmp(parse_abort)) != 0)
{
mprintf(("Unable to parse scripting.tbl! Code = %i.\n", rval));
mprintf(("TABLES: Unable to parse '%s'! Error code = %i.\n", "scripting.tbl", rval));
return 0;
}
else
{
read_file_text("scripting.tbl");
reset_parse();
}
read_file_text("scripting.tbl");
reset_parse();
if(optional_string("#Global Hooks"))
{