From 929229a1d7f64ce345157443525dc2410e5e2381 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sat, 24 Oct 2020 08:04:44 +0200 Subject: Fix config PEG grammar to match strtoll() --- liberty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liberty.c b/liberty.c index d3c6c25..1695fd3 100644 --- a/liberty.c +++ b/liberty.c @@ -4421,7 +4421,7 @@ socket_io_try_write (int socket_fd, struct str *wb) // char = [\0-\177] # or any Unicode codepoint in the UTF-8 encoding // escape = [\\"abfnrtv] / [xX][0-9A-Fa-f][0-9A-Fa-f]? / [0-7][0-7]?[0-7]? // -// integer = lws '-'? [0-9]+ # whatever strtoll() accepts on your system +// integer = lws [-+]? [0-9]+ # whatever strtoll() accepts on your system // null = lws 'null' // boolean = lws 'yes' / lws 'YES' / lws 'no' / lws 'NO' // / lws 'on' / lws 'ON' / lws 'off' / lws 'OFF' -- cgit v1.2.3-70-g09d2