diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-10 14:27:31 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-10 14:27:31 +0000 |
commit | 58ba4c3b4c12e9bf6b8731fd26e0c9cac527122f (patch) | |
tree | a0fce39198f5a192e780016ef3608813a351573a /py/emitglue.c | |
parent | ffa9bddfc4006aebb2689826f700ea167f4de54d (diff) | |
download | micropython-58ba4c3b4c12e9bf6b8731fd26e0c9cac527122f.tar.gz micropython-58ba4c3b4c12e9bf6b8731fd26e0c9cac527122f.zip |
py: Check explicitly for memory allocation failure in parser.
Previously, a failed malloc/realloc would throw an exception, which was
not caught. I think it's better to keep the parser free from NLR
(exception throwing), hence this patch.
Diffstat (limited to 'py/emitglue.c')
0 files changed, 0 insertions, 0 deletions