Fix config PEG grammar to match strtoll()

This commit is contained in:
Přemysl Eric Janouch 2020-10-24 08:04:44 +02:00
parent 53bcebc2f0
commit 929229a1d7
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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'