/
if text:byte(cur) == 34 then -- '"' |
-- find the closing quote |
local endq = cur |
delim=nil |
while not delim do |
endq = text:find('"', endq+1) |
if not endq then |
v = false |
end |
end |
if not v or v == "" then |
if v==nil or v == "" then |
print("Error parsing value at",cur) |
end |
cur = delim |