]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Modify the "%realloc" and "%free" commands in Lemon so that the functions parser-stack-size
authordrh <>
Tue, 18 Nov 2025 15:40:02 +0000 (15:40 +0000)
committerdrh <>
Tue, 18 Nov 2025 15:40:02 +0000 (15:40 +0000)
commit9e91a1fe89eb3c09dc7b53e4d7c5ecea5006b649
tree373023b146710f8453b21b6d29c2a607a54a2c80
parent94326550383397896955be008f44f5deec0d6753
Modify the "%realloc" and "%free" commands in Lemon so that the functions
they specify take an extra parameter at the end, the %extra_context pointer.
This allows the implementation to distinguish between OOM errors and
failures to increase the stack size because of the stack size limit.

FossilOrigin-Name: 9862c945d9a8531f9bef123aee9ed1fd3f64542250a57beb3a150227bc3c1a12
doc/lemon.html
manifest
manifest.uuid
src/parse.y
tool/lempar.c