More changes

This commit is contained in:
Sood
2015-12-06 01:38:29 -08:00
parent b70c01e494
commit 324d63e8d9
40 changed files with 260 additions and 229 deletions

View File

@@ -44,7 +44,7 @@ var/const/Represents a special statement in the code triggered by a keyword.
*/
/datum/n_Keyword/nS_Keyword/New(var/inline = 0)
if(inline)
del src
qdel (src)
/datum/n_Keyword/nS_Keyword/kwReturn/Parse(var/datum/n_Parser/nS_Parser/parser)
. = KW_PASS
@@ -82,7 +82,7 @@ var/const/Represents a special statement in the code triggered by a keyword.
if(!ifstmt || !istype(ifstmt) || ifstmt.else_if)
to_chat(usr, "NTSL: ELSE IF FAILED: [!ifstmt], [!istype(ifstmt)], [!istype(ifstmt) || ifstmt.else_if]")// Usr is unsafe as SHIT but JUST incase I forget this debug line like the fucking asset cache...
parser.errors += new/datum/scriptError/ExpectedToken("if statement", parser.curToken)
return KW_FAIL
@@ -110,7 +110,7 @@ var/const/Represents a special statement in the code triggered by a keyword.
if(!stmt || !istype(stmt) || stmt.else_block) //Ensure that it is an if statement
to_chat(usr, "NTSL: ELSE IF FAILED: [!stmt], [!istype(stmt)], [!istype(stmt) || stmt.else_block]")// Usr is unsafe as SHIT but JUST incase I forget this debug line like the fucking asset cache...
parser.errors += new/datum/scriptError/ExpectedToken("if statement", parser.curToken)
return KW_FAIL