mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
Prefer pre-inc/dec unless post-inc/dec are necessary
This commit is contained in:
1 parent
bf69043a1d
commit
14f5e16ae8
19 files changed
+111
-118
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user