We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25f4801 commit de96c6aCopy full SHA for de96c6a
DMCompiler/Compiler/DM/DMParser.cs
@@ -1134,7 +1134,6 @@ private DMASTProcStatement Set() {
1134
bool hasParenthesis = Check(TokenType.DM_LeftParenthesis);
1135
Whitespace();
1136
DMASTExpression? delay = Expression();
1137
- RequireExpression(ref delay, "Expected delay to sleep for");
1138
if (hasParenthesis) ConsumeRightParenthesis();
1139
1140
return new DMASTProcStatementSleep(loc, delay ?? new DMASTConstantInteger(loc, 0));
0 commit comments