Description[parser cleanup] Use BlockState consistently in Parser
This avoids manual, fragile assignment to Parser::scope_. And once all such
assignments are removed, BlockState might become much more valuable as
a place to reset scope-related state.
Also remove unnecessary nullptr checks after calls to FinalizeBlockScope.
Committed: https://crrev.com/f17e9adf99f6abb15b5c37115c707512227b88af
Cr-Commit-Position: refs/heads/master@{#33313}
Patch Set 1 #Patch Set 2 : Remove final scope_ assignment #Messages
Total messages: 11 (6 generated)
|