added stack overflow prevention

This commit is contained in:
Araq 2014-07-16 22:32:09 +02:00
commit ed226eba6d
4 changed files with 24 additions and 14 deletions

View file

@ -2001,7 +2001,8 @@ type
procname*: cstring ## name of the proc that is currently executing
line*: int ## line number of the proc that is currently executing
filename*: cstring ## filename of the proc that is currently executing
len*: int ## length of the inspectable slots
len*: int16 ## length of the inspectable slots
calldepth*: int16 ## used for max call depth checking
when defined(JS):
proc add*(x: var string, y: cstring) {.asmNoStackFrame.} =