diff options
author | Damien George <damien.p.george@gmail.com> | 2016-10-12 11:00:17 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-10-12 11:00:17 +1100 |
commit | 31101d91ceb5758c17d02b7d41bffbd387cad112 (patch) | |
tree | 6b2b9f1d1263f73f567ec523cfdbf1df8da72663 /lib/utils | |
parent | deaa57acf3db104e2c1a54c6bf4bbd96f95583f4 (diff) | |
download | micropython-31101d91ceb5758c17d02b7d41bffbd387cad112.tar.gz micropython-31101d91ceb5758c17d02b7d41bffbd387cad112.zip |
py/lexer: Remove unnecessary code, and unreachable code.
Setting emit_dent=0 is unnecessary because arriving in that part of the
if-logic will guarantee that emit_dent is already zero.
The block to check indent_top(lex)>0 is unreachable because a newline is
always inserted an the end of the input stream, and hence dedents are
always processed before EOF.
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions