Commit 2c8cd06
The following improvements are implemented in this commit:
- `p->error_indicator` is set, in case malloc or realloc fail.
- Avoid memory leaks in the case that realloc fails.
- Call `PyErr_NoMemory()` instead of `PyErr_Format()`, because it requires no memory.
Co-authored-by: Pablo Galindo <[email protected]>
1 parent 6341fc7 commit 2c8cd06
File tree
2 files changed
+669
-386
lines changed- Parser/pegen
- Tools/peg_generator/pegen
2 files changed
+669
-386
lines changed
0 commit comments