Software / code / prosody
Changeset
4404:5356664ef9d4
util.json: Fix for single-line comments (thanks Norbert Kiesel)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 26 Oct 2011 18:55:06 -0400 |
| parents | 4403:eb688e4397a5 |
| children | 4406:424e14d3f99b |
| files | util/json.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/json.lua Sun Oct 23 20:56:33 2011 +0200 +++ b/util/json.lua Wed Oct 26 18:55:06 2011 -0400 @@ -168,7 +168,7 @@ skipwhitespace(); if ch == "/" and peek == "*" then skipstarcomment(); - elseif ch == "/" and peek == "*" then + elseif ch == "/" and peek == "/" then skiplinecomment(); else return;