mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Additional notes on choices. We're changing it next to the latest one.
Preserved for the record.
This commit is contained in:
parent
be9145e3c3
commit
e620c9f305
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue