add support for syntax "do i = N to N" equivalent to for
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 4 Apr 2020 20:28:55 +0000 (21:28 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 4 Apr 2020 20:28:58 +0000 (21:28 +0100)
commitdf74adc175e8d257852ca078e854a9bac8eff618
tree40602600d9920de7258a3741cc614f4c13d2f54c
parent237d4f455ae825941b0542819c02fdc87585808a
add support for syntax "do i = N to N" equivalent to for
also fix bug where "for i = N" was getting early-reduced
to "for {comparison}" because "=" is also used as a comparator
src/soc/decoder/power_pseudo.py
src/soc/decoder/pseudo/lexer.py
src/soc/decoder/pseudo/parser.py