From 2e7de5f9ed2b01a52e5ca74f69ad86d4724e5064 Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Sat, 26 Jul 2014 23:30:13 +0200 Subject: [PATCH] checkDocumentStart func attribs. --- source/dyaml/scanner.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dyaml/scanner.d b/source/dyaml/scanner.d index c766226..b9e20de 100644 --- a/source/dyaml/scanner.d +++ b/source/dyaml/scanner.d @@ -738,7 +738,7 @@ final class Scanner } /// Check if the next token is DOCUMENT-START: ^ '---' (' '|'\n') - bool checkDocumentStart() @safe + bool checkDocumentStart() @safe pure nothrow @nogc { // Check one char first, then all 3, to prevent reading outside the buffer. return reader_.column == 0 &&