File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ function _extract_subexpression!(expr::Expression, root::Int)
56
56
end
57
57
index -= first_value - 1
58
58
end
59
- expr. nodes[i] = Node (node. type, index, i == root ? - 1 : node. parent - root + 1 )
59
+ expr. nodes[i] =
60
+ Node (node. type, index, i == root ? - 1 : node. parent - root + 1 )
60
61
end
61
62
if isnothing (first_out)
62
63
I = root: n
@@ -140,7 +141,10 @@ function parse_expression(
140
141
__expr, __node = val
141
142
if _expr === __expr && __node > first (I)
142
143
if __node <= last (I)
143
- data. cache[key] = (data. expressions[subexpr. value], __node - first (I) + 1 )
144
+ data. cache[key] = (
145
+ data. expressions[subexpr. value],
146
+ __node - first (I) + 1 ,
147
+ )
144
148
else
145
149
data. cache[key] =
146
150
(__expr, __node - length (I) + 1 )
You can’t perform that action at this time.
0 commit comments