add {.pop.} for {.push debugger:off.} to balance push/pop
This commit is contained in:
parent
a40ace648d
commit
36cf87e6a9
1 changed files with 3 additions and 1 deletions
|
|
@ -22,6 +22,8 @@ import parseutils
|
||||||
|
|
||||||
include "system/inclrtl"
|
include "system/inclrtl"
|
||||||
|
|
||||||
|
{.pop.}
|
||||||
|
|
||||||
type
|
type
|
||||||
CharSet* {.deprecated.} = set[char] # for compatibility with Nim
|
CharSet* {.deprecated.} = set[char] # for compatibility with Nim
|
||||||
{.deprecated: [TCharSet: CharSet].}
|
{.deprecated: [TCharSet: CharSet].}
|
||||||
|
|
@ -1660,7 +1662,7 @@ when isMainModule:
|
||||||
doAssert isAlpha("Rasp")
|
doAssert isAlpha("Rasp")
|
||||||
doAssert isAlpha("Args")
|
doAssert isAlpha("Args")
|
||||||
doAssert(not isAlpha("$Tomato"))
|
doAssert(not isAlpha("$Tomato"))
|
||||||
|
|
||||||
doAssert isAlphaNumeric('3')
|
doAssert isAlphaNumeric('3')
|
||||||
doAssert isAlphaNumeric('R')
|
doAssert isAlphaNumeric('R')
|
||||||
doAssert(not isAlphaNumeric('!'))
|
doAssert(not isAlphaNumeric('!'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue