diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-10 21:51:56 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-10 21:51:56 +0000 |
commit | a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f (patch) | |
tree | 0072a5eb971520d234780328481300fb9c84b359 /src/map/script.h | |
parent | 69ebeeb417756359eee461ea9db90d96564d8536 (diff) | |
download | hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.tar.gz hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.tar.bz2 hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.tar.xz hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.zip |
* Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
* Added an option for parse_script to ignore the checks for the set of brackets around the script.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11398 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h index 2260724a5..9783eeb3b 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -62,7 +62,8 @@ struct script_state { }; enum script_parse_options { - SCRIPT_USE_LABEL_DB = 0x1 + SCRIPT_USE_LABEL_DB = 0x1,// records labels in scriptlabel_db + SCRIPT_IGNORE_EXTERNAL_BRACKETS = 0x2// ignores the check for {} brackets around the script }; struct script_code* parse_script(const char* src,const char* file,int line,int options); |