aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-24 08:04:44 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-24 08:05:17 +0200
commit929229a1d7f64ce345157443525dc2410e5e2381 (patch)
tree8cf6d3be1df9ba80e6f5370b0805e93c4e0309dd
parent53bcebc2f0bae3ba0bbcefb849bdb0ede0ea4385 (diff)
downloadliberty-929229a1d7f64ce345157443525dc2410e5e2381.tar.gz
liberty-929229a1d7f64ce345157443525dc2410e5e2381.tar.xz
liberty-929229a1d7f64ce345157443525dc2410e5e2381.zip
Fix config PEG grammar to match strtoll()
-rw-r--r--liberty.c2
1 files changed, 1 insertions, 1 deletions
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'