| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- remove unused flag `DEF_FREE` - remove unused macros `GENERATOR` and `GENERATOR_EXPRESSION` - update values of `DEF_*` and `USE` flags - reflect new ordering in the code
|
Converting into a draft to split the PR into two (so that we can discuss whether the re-ordering and the value's changes should be done or not). I'll open a separate PR for that. |
Sorry, something went wrong.
|
In light of Jelle's comment (#120029 (comment)), I will not change any concrete values here. Maybe in the future we will update them to reflect their usage in symtable.py, but let's keep it that way for now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR removes DEF_FREE and the unused GENERATOR and GENERATOR_EXPRESSION macros.
In addition, I re-ordered the values of the flags so that they are meaningfully separated (and made that reflection on the export order and the debug order). Note that some comments were outdated (and I updated them accordingly).
I will address the import order of symtable in a separate PR and make it so that the flags are meaningfully printed.
By the way, I'm not sure if this change really required updating the magic number (compile.c checks flags so if the numbers change, then an old bytecode might perhaps have incorrect flag values, (unless they are not kept)).