diff --git a/source/dyaml/scanner.d b/source/dyaml/scanner.d index c34690c..2458b1b 100644 --- a/source/dyaml/scanner.d +++ b/source/dyaml/scanner.d @@ -1437,6 +1437,8 @@ final class Scanner } /// Scan plain scalar token (no block, no quotes). + /// + /// In case of an error, error_ is set. Check this before using the result. Token scanPlain() @trusted pure nothrow { // We keep track of the allowSimpleKey_ flag here.