diff options
| author | Damien George | 2014-08-04 10:05:16 +0100 |
|---|---|---|
| committer | Damien George | 2014-08-04 10:05:16 +0100 |
| commit | 8dbbbbc793554f920cf352b0e67da46abe3974cf (patch) | |
| tree | 93dccc679ac010c4087c5d9067fb8da3a98d6b8b /bare-arm/main.c | |
| parent | 8362bffb2eed310d319b0b96c1b3305eff9c4417 (diff) | |
Put call to qstr_init and mp_init_emergency_exc_buf in mp_init.
qstr_init is always called exactly before mp_init, so makes sense to
just have mp_init call it. Similarly with
mp_init_emergency_exception_buf. Doing this makes the ports simpler and
less error prone (ie they can no longer forget to call these).
Diffstat (limited to 'bare-arm/main.c')
| -rw-r--r-- | bare-arm/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bare-arm/main.c b/bare-arm/main.c index bdaded436..286e41cd4 100644 --- a/bare-arm/main.c +++ b/bare-arm/main.c @@ -53,7 +53,6 @@ void do_str(const char *src) { } int main(int argc, char **argv) { - qstr_init(); mp_init(); do_str("print('hello world!', list(x+1 for x in range(10)), end='eol\n')"); mp_deinit(); |
