From 0afeca5f9fbbaa86c7df19dcf42355419b21745c Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Fri, 14 Feb 2014 09:01:21 -0800 Subject: [PATCH] Make moreTokens public --- stdx/d/parser.d | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/stdx/d/parser.d b/stdx/d/parser.d index a0d750d..76a1ca2 100644 --- a/stdx/d/parser.d +++ b/stdx/d/parser.d @@ -6035,6 +6035,15 @@ q{doStuff(5)}c; this.tokens = tokens; } + /** + * Returns: true if there are more tokens + */ + bool moreTokens() const nothrow pure @safe + { + return index < tokens.length; + } + + protected: bool isCastQualifier() const @@ -6519,14 +6528,6 @@ protected: return true; } - /** - * Returns: true if there are more tokens - */ - bool moreTokens() const nothrow - { - return index < tokens.length; - } - size_t setBookmark() { mixin(traceEnterAndExit!(__FUNCTION__));