diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-02 19:37:55 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-03 12:32:59 +0300 |
commit | d3439d0c6065bc60a9c4c915f4a1a3ffa796cf33 (patch) | |
tree | 0d6b55a7f6893a4d13616f72c310b4f6f532f0b0 /py/lexer.h | |
parent | 509c7a7854f24c202832d8fb1369130bf8908261 (diff) |
py: Instead of having "debug on" var, have "optimization level" var.
This allows to have multiple "optimization" levels (CPython has two
(-OO removes docstrings), we can have more).
Diffstat (limited to 'py/lexer.h')
-rw-r--r-- | py/lexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/lexer.h b/py/lexer.h index b302cb2db..24cae1e25 100644 --- a/py/lexer.h +++ b/py/lexer.h @@ -176,3 +176,5 @@ typedef enum { mp_import_stat_t mp_import_stat(const char *path); mp_lexer_t *mp_lexer_new_from_file(const char *filename); + +extern uint mp_optimise_value; |