diff options
author | Araq <rumpf_a@web.de> | 2019-07-10 12:42:23 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-07-10 12:42:41 +0200 |
commit | c94647aecad6ed7fd12152800437a6cda11e06e6 (patch) | |
tree | f876ae0ac6379dfd99fd5d5ed7d8903be96b433b /lib/packages/docutils | |
parent | 96523cdd3e8ada367b804efbd47f4763a1269fa8 (diff) | |
download | Nim-c94647aecad6ed7fd12152800437a6cda11e06e6.tar.gz |
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
Diffstat (limited to 'lib/packages/docutils')
-rw-r--r-- | lib/packages/docutils/highlite.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/packages/docutils/highlite.nim b/lib/packages/docutils/highlite.nim index 190faac51..ca6a3e05e 100644 --- a/lib/packages/docutils/highlite.nim +++ b/lib/packages/docutils/highlite.nim @@ -865,7 +865,7 @@ proc yamlNextToken(g: var GeneralTokenizer) = inc(pos) while g.buf[pos] in {'0'..'9', '+', '-'}: inc(pos) of '0'..'9': yamlPossibleNumber(g, pos) - of '\0': g.kind = gtEOF + of '\0': g.kind = gtEof else: yamlPlainStrLit(g, pos) else: # outside document @@ -883,7 +883,7 @@ proc yamlNextToken(g: var GeneralTokenizer) = of '#': g.kind = gtComment while g.buf[pos] notin {'\0', '\x0A', '\x0D'}: inc(pos) - of '\0': g.kind = gtEOF + of '\0': g.kind = gtEof else: g.kind = gtNone g.state = gtOther |