mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 02:01:29 -10:00
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:
1 parent
c314641a80
commit
6ab0b17acc
47 files changed
+837
-577
No files matched your search
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user