summaryrefslogtreecommitdiff
path: root/libregexp.c
diff options
context:
space:
mode:
authorCharlie Gordon <github@chqrlie.org>2024-03-23 12:58:53 +0100
committerCharlie Gordon <github@chqrlie.org>2024-03-23 12:58:53 +0100
commit653b2276cbc606e1f883af5a0d82f2677327ea7a (patch)
treead3d4be6251713c308f4dd066658b58e16f96d1e /libregexp.c
parent203fe2d539a96d0df44a315728566520f92debdc (diff)
downloadquickjs-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