added system.getStackTrace; docgen refactoring (incomplete)

This commit is contained in:
Araq 2012-05-06 01:16:36 +02:00
commit c323ec0155
13 changed files with 744 additions and 509 deletions

View file

@ -663,7 +663,7 @@ proc InternalError*(errMsg: string) =
rawMessage(errInternal, errMsg)
template AssertNotNil*(e: expr): expr =
if(e == nil): InternalError($InstantiationInfo())
if e == nil: InternalError($InstantiationInfo())
e
template InternalAssert*(e: bool): stmt =