mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 21:17:48 +00:00
Merge pull request #3445 from jlp765/popd
fix #3343 strutils.nim balance {.push.} with {.pop.}
This commit is contained in:
@@ -22,6 +22,8 @@ import parseutils
|
||||
|
||||
include "system/inclrtl"
|
||||
|
||||
{.pop.}
|
||||
|
||||
type
|
||||
CharSet* {.deprecated.} = set[char] # for compatibility with Nim
|
||||
{.deprecated: [TCharSet: CharSet].}
|
||||
@@ -1660,7 +1662,7 @@ when isMainModule:
|
||||
doAssert isAlpha("Rasp")
|
||||
doAssert isAlpha("Args")
|
||||
doAssert(not isAlpha("$Tomato"))
|
||||
|
||||
|
||||
doAssert isAlphaNumeric('3')
|
||||
doAssert isAlphaNumeric('R')
|
||||
doAssert(not isAlphaNumeric('!'))
|
||||
|
||||
Reference in New Issue
Block a user