unix/variants: Enable MICROPY_DEBUG_PARSE_RULE_NAME on coverage build.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2020-09-30 23:35:55 +10:00
parent 843dcd4f85
commit 817b80a102
2 changed files with 12 additions and 11 deletions

View File

@ -30,6 +30,7 @@
#define MICROPY_VFS (1) #define MICROPY_VFS (1)
#define MICROPY_PY_UOS_VFS (1) #define MICROPY_PY_UOS_VFS (1)
#define MICROPY_DEBUG_PARSE_RULE_NAME (1)
#define MICROPY_OPT_MATH_FACTORIAL (1) #define MICROPY_OPT_MATH_FACTORIAL (1)
#define MICROPY_FLOAT_HIGH_QUALITY_HASH (1) #define MICROPY_FLOAT_HIGH_QUALITY_HASH (1)
#define MICROPY_ENABLE_SCHEDULER (1) #define MICROPY_ENABLE_SCHEDULER (1)

View File

@ -1,31 +1,31 @@
---------------- ----------------
[ 4] rule(1) (n=9) [ 4] \(rule\|file_input_2\)(1) (n=9)
tok(4) tok(4)
[ 4] rule(22) (n=4) [ 4] \(rule\|for_stmt\)(22) (n=4)
id(i) id(i)
[ 4] rule(45) (n=1) [ 4] \(rule\|atom_paren\)(45) (n=1)
NULL NULL
[ 5] rule(8) (n=0) [ 5] \(rule\|pass_stmt\)(8) (n=0)
NULL NULL
[ 6] rule(5) (n=2) [ 6] \(rule\|expr_stmt\)(5) (n=2)
id(a) id(a)
tok(14) tok(14)
[ 7] rule(5) (n=2) [ 7] \(rule\|expr_stmt\)(5) (n=2)
id(b) id(b)
str(str) str(str)
[ 8] rule(5) (n=2) [ 8] \(rule\|expr_stmt\)(5) (n=2)
id(c) id(c)
[ 8] literal \.\+ [ 8] literal \.\+
[ 9] rule(5) (n=2) [ 9] \(rule\|expr_stmt\)(5) (n=2)
id(d) id(d)
bytes(bytes) bytes(bytes)
[ 10] rule(5) (n=2) [ 10] \(rule\|expr_stmt\)(5) (n=2)
id(e) id(e)
[ 10] literal \.\+ [ 10] literal \.\+
[ 11] rule(5) (n=2) [ 11] \(rule\|expr_stmt\)(5) (n=2)
id(f) id(f)
[ 11] literal \.\+ [ 11] literal \.\+
[ 12] rule(5) (n=2) [ 12] \(rule\|expr_stmt\)(5) (n=2)
id(g) id(g)
int(123) int(123)
---------------- ----------------