diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-13 11:56:02 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-13 11:56:02 +0100 |
commit | 4b01de44ba110394cac66f83a44a037fc58ae4e8 (patch) | |
tree | a9b3593097097430fce786ab4340685007319275 /py/parsehelper.h | |
parent | 3d484d9ad45a8fc3b088047249d1304af77ec667 (diff) | |
download | micropython-4b01de44ba110394cac66f83a44a037fc58ae4e8.tar.gz micropython-4b01de44ba110394cac66f83a44a037fc58ae4e8.zip |
py: Add traceback info to syntax errors.
Should fix issue #463.
Diffstat (limited to 'py/parsehelper.h')
-rw-r--r-- | py/parsehelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parsehelper.h b/py/parsehelper.h index 1de70d19d6..b8f8c106dd 100644 --- a/py/parsehelper.h +++ b/py/parsehelper.h @@ -1,2 +1,2 @@ void mp_parse_show_exception(mp_lexer_t *lex, mp_parse_error_kind_t parse_error_kind); -mp_obj_t mp_parse_make_exception(mp_parse_error_kind_t parse_error_kind); +mp_obj_t mp_parse_make_exception(mp_lexer_t *lex, mp_parse_error_kind_t parse_error_kind); |