summaryrefslogtreecommitdiff
path: root/src/depend
diff options
context:
space:
mode:
Diffstat (limited to 'src/depend')
-rw-r--r--src/depend/depend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/depend/depend.cpp b/src/depend/depend.cpp
index ba868464b..a7c4285e3 100644
--- a/src/depend/depend.cpp
+++ b/src/depend/depend.cpp
@@ -565,7 +565,7 @@ bool ExpressionAnd(Lexer *lexer, StringSet *defines, bool verbose)
{
bool value = ExpressionDefined(lexer, defines, verbose);
- while (true) {
+ for (;;) {
if (lexer->GetToken() != TOKEN_AND) return value;
if (verbose) fprintf(stderr, " && ");
lexer->Lex();
@@ -584,7 +584,7 @@ bool ExpressionOr(Lexer *lexer, StringSet *defines, bool verbose)
{
bool value = ExpressionAnd(lexer, defines, verbose);
- while (true) {
+ for (;;) {
if (lexer->GetToken() != TOKEN_OR) return value;
if (verbose) fprintf(stderr, " || ");
lexer->Lex();