checkDocumentStart func attribs.

This commit is contained in:
Ferdinand Majerech 2014-07-26 23:30:13 +02:00
parent d5663b1e57
commit 2e7de5f9ed

View file

@ -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 &&