Prefer pre-inc/dec unless post-inc/dec are necessary

This commit is contained in:
Rangi42 committed 2025-07-19 16:18:35 -04:00
1 parent bf69043a1d
commit 14f5e16ae8
19 files changed
+111 -118

No files matched your search

+1 -1
View File
@@ -189,7 +189,7 @@ bool yywrap() {
}
}
// Advance to the next iteration
fileInfoIters.front()++;
++fileInfoIters.front();
// If this wasn't the last iteration, wrap instead of popping
if (fileInfoIters.front() <= context.nbReptIters) {
lexer_RestartRept(context.fileInfo->lineNo);