diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-19 11:48:48 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-19 11:48:48 +0000 |
commit | cbd2f7482c8bf457cc17da763859dbba6e03e2a2 (patch) | |
tree | 8d6badc4197fe0d5763d381dd97586176db9fbae /py/parse.h | |
parent | e02b2d43912d13d216936786e4b7a33918877418 (diff) |
py: Add module/function/class name to exceptions.
Exceptions know source file, line and block name.
Also tidy up some debug printing functions and provide a global
flag to enable/disable them.
Diffstat (limited to 'py/parse.h')
-rw-r--r-- | py/parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parse.h b/py/parse.h index e1e7f7302..2801f414e 100644 --- a/py/parse.h +++ b/py/parse.h @@ -54,7 +54,7 @@ typedef struct _mp_parse_node_struct_t { mp_parse_node_t mp_parse_node_new_leaf(machine_int_t kind, machine_int_t arg); -void mp_parse_node_show(mp_parse_node_t pn, int indent); +void mp_parse_node_print(mp_parse_node_t pn, int indent); typedef enum { MP_PARSE_SINGLE_INPUT, |