Updates/fixes to NTSL

- Fixed NTSL division
  - Added new NTSL math functions
  - Added changelog information
This commit is contained in:
TedStudley
2015-01-03 17:03:23 -08:00
parent b94fcf06b3
commit 777a2800a3
5 changed files with 39 additions and 3 deletions
+2 -1
View File
@@ -118,13 +118,14 @@
for(, src.codepos<=lentext(code), src.codepos++)
var/char=copytext(code, codepos, codepos+1)
var/nextchar=copytext(code, codepos+1, codepos+2)
if(char=="\n")
line++
linepos=codepos
if(ignore.Find(char))
continue
else if(char == "/")
else if(char == "/" && (nextchar == "/" || nextchar == "*"))
ReadComment()
else if(end_stmt.Find(char))
tokens+=new /token/end(char, line, COL)