diff --git a/source/dyaml/scanner.d b/source/dyaml/scanner.d index 7b570c3..04473de 100644 --- a/source/dyaml/scanner.d +++ b/source/dyaml/scanner.d @@ -739,7 +739,7 @@ final class Scanner } /// Check if the next token is DOCUMENT-START: ^ '---' (' '|'\n') - bool checkDocumentStart() @safe + bool checkDocumentStart() @safe { // Check one char first, then all 3, to prevent reading outside the buffer. return reader_.column == 0 &&