summaryrefslogtreecommitdiff
path: root/server-beta/src/json/decode.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/json/decode.lua')
-rw-r--r--server-beta/src/json/decode.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/json/decode.lua b/server-beta/src/json/decode.lua
index 9129d92f..36f8aa54 100644
--- a/server-beta/src/json/decode.lua
+++ b/server-beta/src/json/decode.lua
@@ -123,7 +123,7 @@ local Token = P
{
V'Value' * Cp(),
Nl = P'\r\n' + S'\r\n',
- Sp = S' \t',
+ Sp = S' \t' + '//' * (1-V'Nl')^0,
Spnl = (V'Sp' + V'Nl')^0,
Bool = C(P'true' + P'false') / BoolMap,
Int = C('0' + (P'-'^-1 * R'19' * R'09'^0)) / tointeger,