Page 1 of 1

tranformation MP_QSTR__slash_lib into /lib

Posted: Sat Jan 26, 2019 7:18 am
by Roberthh
Which setting/step in creating binaries causes during the translation of e.g. MP_QSTR__slash_lib into /lib the mapping of "_slash_" into "/"? I assume it is a singe setting/flag, but searching did not reveal the right place.

Re: tranformation MP_QSTR__slash_lib into /lib

Posted: Sat Jan 26, 2019 9:00 am
by stijn
makeqstrdata.py processes the compiler-generated files and has

Code: Select all

codepoint2name[ord('/')] = 'slash'