-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#195 strikes again #200
Comments
This has always been the case (just wasn't practical before quick map). You can't use binary
We'd need separate flags for each nesting level to handle this. |
May I ask why? I thought this would not be the case as they need to be balanced anyway. |
Because they can nest, e.g.:
|
Ah, right. No idea how to (cleanly) handle that (does not look like it's working currently tbh, havn't tested master yet). I was talking about depth of case \for
this@@inFor.push 0
#...
case \(
if @inFor
that[*-1]++
#...
case \)
if @inFor
that[*-1]--
#...
case \in
if @inFor
if that[*-1] #we're in ()[]{}
tag = \RELATION
else
tag = \IN
that.pop!
#...
### probably doesn't handle `in`/`of` in bodies. |
Thanks a lot :) |
gorgeous |
Got bitten by this just now ... It's basically the same as #195
Just this :
for get(a in b) then
orfor [get a in b] then
Of course implicit call isn't applicable here, but I thought we may count how deep we are in {} (I don't think we even need to differentiate between those) before checking
inFor
.The text was updated successfully, but these errors were encountered: