diff options
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 |