Add support for strictEffects to std/pegs (#18949)
* Add support for `strictEffects` to `std/pegs` * Fixed support of older Nim versions Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
This commit is contained in:
parent
500d5f0f38
commit
f017eadc97
2 changed files with 7 additions and 1 deletions
|
|
@ -51,6 +51,9 @@ Event parser output
|
|||
'''
|
||||
"""
|
||||
|
||||
when defined(nimHasEffectsOf):
|
||||
{.experimental: "strictEffects".}
|
||||
|
||||
import std/[strutils, streams, pegs]
|
||||
|
||||
const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue