mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-03-22 03:32:53 +00:00
Consts (#18455)
* Gets rid of this const * Unused const * Update forensics.dm * Drinks defines * uNUSED * Update Keywords.dm * Update Keywords.dm * Add * yar * Fingerprint
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
/*
|
||||
File: Keywords
|
||||
*/
|
||||
var/const/KW_FAIL = 0 //Fatal error; stop parsing entire script.
|
||||
var/const/KW_PASS = 1 //OK
|
||||
var/const/KW_ERR = 2 //Non-fatal error, keyword couldn't be handled properly. Ignore keyword but continue on.
|
||||
var/const/KW_WARN = 3 //Warning
|
||||
#define KW_FAIL 0 //Fatal error; stop parsing entire script.
|
||||
#define KW_PASS 1 //OK
|
||||
#define KW_ERR 2 //Non-fatal error, keyword couldn't be handled properly. Ignore keyword but continue on.
|
||||
#define KW_WARN 3 //Warning
|
||||
|
||||
/*
|
||||
var/const/Class: n_Keyword
|
||||
@@ -156,3 +156,8 @@ var/const/Represents a special statement in the code triggered by a keyword.
|
||||
else
|
||||
parser.errors+=new/scriptError/BadToken(parser.curToken)
|
||||
return KW_FAIL
|
||||
|
||||
#undef KW_FAIL
|
||||
#undef KW_PASS
|
||||
#undef KW_ERR
|
||||
#undef KW_WARN
|
||||
|
||||
Reference in New Issue
Block a user