Additional notes on choices. We're changing it next to the latest one.

Preserved for the record.
This commit is contained in:
Sei Lisa 2014-07-31 18:58:19 +02:00
parent be9145e3c3
commit e620c9f305

View file

@ -149,7 +149,11 @@ def InternalJsonScanMatching(json, idx):
# That would mean that a nested malformed string like [{]} would be valid. SL may accept that.
# (Or maybe even just ONE nesting level variable for the current element,
# disregarding the nesting of the other, e.g. if we're on an object,
# the [] are not tracked thus {[} would be valid. That sounds like LSL.)
# the [] are not tracked thus {[} would be valid. That sounds like LSL.
# Or track [] and {} as the same, distinguishing whether
# the one at nesting level 0 matches the first (e.g. {[{}}} would be valid)
# Or just track the current one and screw the other (e.g. {{]]][]{}][}}
# would be valid). That sounds even more like LSL.
# Experiments are advisable.
stk = [json[idx]]
str = False