diff --git a/source/graphql/lexer.d b/source/graphql/lexer.d index 02f4f43..fa2e057 100644 --- a/source/graphql/lexer.d +++ b/source/graphql/lexer.d @@ -180,8 +180,7 @@ struct Lexer { ++this.stringPos; ++this.column; ++e; - if(this.isNotQueryParser() && - this.testStrAndInc!"ubscription"(e)) + if(this.testStrAndInc!"ubscription"(e)) { if(this.isTokenStop()) { this.cur =