experimental: notnil

This commit is contained in:
majj 2018-08-18 10:43:52 +08:00 committed by flyx
parent 2328289dba
commit 51d33d4a05
2 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,9 @@
import tables, streams, hashes, sets, strutils
import stream, taglib, serialization, private/internal, parser,
presenter
when defined(nimNoNil):
{.experimental: "notnil".}
type
YamlNodeKind* = enum
yScalar, yMapping, ySequence

View File

@ -1,4 +1,4 @@
# NimYAML - YAML implementation in Nim
# NimYAML - YAML implementation in Nim
# (c) Copyright 2016 Felix Krause
#
# See the file "copying.txt", included in this
@ -15,6 +15,9 @@
import hashes
import private/internal, taglib
when defined(nimNoNil):
{.experimental: "notnil".}
when defined(yamlScalarRepInd):
type ScalarRepresentationIndicator* = enum
srPlain, srSingleQuoted, srDoubleQuoted, srLiteral, srFolded