summaryrefslogtreecommitdiffstatshomepage
path: root/py/modgc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-29 12:28:33 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-29 12:28:33 +1100
commitf55a059e7a31ceb301196ecea80c1f4a043f4150 (patch)
tree413922c4e9792405ebbf04f1551c8c89a8c0d2e3 /py/modgc.c
parent5010d1958feee84fe49f887ff6e4b1d37d211152 (diff)
downloadmicropython-f55a059e7a31ceb301196ecea80c1f4a043f4150.tar.gz
micropython-f55a059e7a31ceb301196ecea80c1f4a043f4150.zip
py/compile: Simplify syntax-error messages for illegal assignments.
With this patch all illegal assignments are reported as "can't assign to expression". Before the patch there were special cases for a literal on the LHS, and for augmented assignments (eg +=), but it seems a waste of bytes (and there are lots of bytes used in error messages) to spend on distinguishing such errors which a user will rarely encounter.
Diffstat (limited to 'py/modgc.c')
0 files changed, 0 insertions, 0 deletions