diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2019-09-26 20:25:39 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-04 17:13:13 +1000 |
commit | 4ddd46e6cfd1f10efbd6fbbbc0fed520a1058045 (patch) | |
tree | 73f73cdd9eb01a3fe8cd44d4bae3de16748a73b2 /py/py.mk | |
parent | 25a9bccdee2fe830046c1c1a0220ca7706597202 (diff) |
docs/develop/qstr.rst: Add documentation for string interning.
Diffstat (limited to 'py/py.mk')
-rw-r--r-- | py/py.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -231,6 +231,7 @@ MPCONFIGPORT_MK = $(wildcard mpconfigport.mk) # created before we run the script to generate the .h # Note: we need to protect the qstr names from the preprocessor, so we wrap # the lines in "" and then unwrap after the preprocessor is finished. +# See more information about this process in docs/develop/qstr.rst. $(HEADER_BUILD)/qstrdefs.generated.h: $(PY_QSTR_DEFS) $(QSTR_DEFS) $(QSTR_DEFS_COLLECTED) $(PY_SRC)/makeqstrdata.py mpconfigport.h $(MPCONFIGPORT_MK) $(PY_SRC)/mpconfig.h | $(HEADER_BUILD) $(ECHO) "GEN $@" $(Q)$(CAT) $(PY_QSTR_DEFS) $(QSTR_DEFS) $(QSTR_DEFS_COLLECTED) | $(SED) 's/^Q(.*)/"&"/' | $(CPP) $(CFLAGS) - | $(SED) 's/^\"\(Q(.*)\)\"/\1/' > $(HEADER_BUILD)/qstrdefs.preprocessed.h |