commit | 08335004cfe95048ee06134a3e49b9fb75639139 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Sat Jan 18 23:24:36 2014 +0000 |
committer | Damien George <damien.p.george@gmail.com> | Sat Jan 18 23:24:36 2014 +0000 |
tree | 7518a854012938fd70c57b3571a630a142b84f28 | |
parent | aefe79880f8c5f66132673ccc9be27d2ca29005b [diff] [blame] |
Add source file name and line number to error messages. Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
diff --git a/unix-cpy/main.c b/unix-cpy/main.c index 7d56cea..1f54b6f 100644 --- a/unix-cpy/main.c +++ b/unix-cpy/main.c
@@ -48,7 +48,7 @@ //printf("----------------\n"); // compile - mp_obj_t module_fun = mp_compile(pn, false); + mp_obj_t module_fun = mp_compile(pn, 0, false); //printf("----------------\n");