mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Use RAII to unmap or close the lexer states' files automatically
This commit is contained in:
@@ -220,7 +220,6 @@ bool yywrap() {
|
||||
return true;
|
||||
}
|
||||
|
||||
lexer_CleanupState(contextStack.top().lexerState);
|
||||
contextStack.pop();
|
||||
lexer_SetState(&contextStack.top().lexerState);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user