diff options
author | Charlie Gordon <github@chqrlie.org> | 2024-03-23 12:58:53 +0100 |
---|---|---|
committer | Charlie Gordon <github@chqrlie.org> | 2024-03-23 12:58:53 +0100 |
commit | 653b2276cbc606e1f883af5a0d82f2677327ea7a (patch) | |
tree | ad3d4be6251713c308f4dd066658b58e16f96d1e /libregexp.c | |
parent | 203fe2d539a96d0df44a315728566520f92debdc (diff) | |
download | quickjs-653b2276cbc606e1f883af5a0d82f2677327ea7a.tar.gz quickjs-653b2276cbc606e1f883af5a0d82f2677327ea7a.zip |
Improve error handling
- detect and report invalid duplicate parameter names
- throw RangeError for too many function arguments
- throw RangeError for invalid string length
- prevent `-Wcast-function-type` warnings
Diffstat (limited to 'libregexp.c')
0 files changed, 0 insertions, 0 deletions