diff --git a/src/dparse/parser.d b/src/dparse/parser.d index e3ac4754..7b5ee722 100644 --- a/src/dparse/parser.d +++ b/src/dparse/parser.d @@ -8226,7 +8226,7 @@ class Parser * Parses a WhileStatement * * $(GRAMMAR $(RULEDEF whileStatement): - * $(LITERAL 'while') $(LITERAL '$(LPAREN)') $(RULE expression) $(LITERAL '$(RPAREN)') $(RULE declarationOrStatement) + * $(LITERAL 'while') $(LITERAL '$(LPAREN)') $(RULE ifCondition) $(LITERAL '$(RPAREN)') $(RULE declarationOrStatement) * ;) */ WhileStatement parseWhileStatement()