aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript/lscript_byteformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/lscript/lscript_byteformat.h')
-rw-r--r--linden/indra/lscript/lscript_byteformat.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/linden/indra/lscript/lscript_byteformat.h b/linden/indra/lscript/lscript_byteformat.h
index 1e54e9c..1f201d8 100644
--- a/linden/indra/lscript/lscript_byteformat.h
+++ b/linden/indra/lscript/lscript_byteformat.h
@@ -512,25 +512,11 @@ typedef enum e_lscript_runtime_faults
512 LSRF_CHAT_OVERRUN, 512 LSRF_CHAT_OVERRUN,
513 LSRF_TOO_MANY_LISTENS, 513 LSRF_TOO_MANY_LISTENS,
514 LSRF_NESTING_LISTS, 514 LSRF_NESTING_LISTS,
515 LSRF_CLI,
515 LSRF_EOF 516 LSRF_EOF
516} LSCRIPTRunTimeFaults; 517} LSCRIPTRunTimeFaults;
517 518
518extern char* LSCRIPTRunTimeFaultStrings[LSRF_EOF]; /*Flawfinder: ignore*/ 519extern const char* LSCRIPTRunTimeFaultStrings[LSRF_EOF]; /*Flawfinder: ignore*/
519
520const S32 LSCRIPTRunTimeFaultBits[LSRF_EOF] =
521{
522 0, // LSRF_INVALID
523 1, // LSRF_MATH
524 2, // LSRF_STACK_HEAP_COLLISION
525 3, // LSREF_BOUND_CHECK_ERROR
526 4, // LSREF_HEAP_ERROR
527 5, // LSREF_VERSION_MISMATCH
528 6, // LSREF_MISSING_INVENTORY
529 7, // LSRF_SANDBOX
530 8, // LSRF_CHAT_OVERRUN
531 9, // LSRF_TOO_MANY_LISTENS
532 10, // LSRF_NESTING_LISTS
533};
534 520
535typedef enum e_lscript_runtime_permissions 521typedef enum e_lscript_runtime_permissions
536{ 522{