Skip to content

Commit 4d4319f

Browse files
committed
Revert "updates"
This reverts commit 79b8b0d.
1 parent 79b8b0d commit 4d4319f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/compile.c

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ compile_remove_subexpr(Compile *compile, PElement *root)
14701470

14711471
/* This is a def with multiple RHS. Check that:
14721472
*
1473-
* - all defs have the same number of args
1473+
* - all defs hjave the same number of args
14741474
* - no more then def RHS has no pattern matching args
14751475
* - if there is a no-pattern def, it must be the last one
14761476
*/
@@ -2316,7 +2316,8 @@ compile_lcomp(Compile *compile)
23162316
/* A filter.
23172317
*/
23182318
n1 = compile_copy_tree(compile,
2319-
element->expr->compile->tree, scope);
2319+
element->expr->compile->tree,
2320+
scope);
23202321
n2 = tree_leafsym_new(scope, child);
23212322
n3 = tree_leaf_new(scope, "$$sofar");
23222323
n1 = tree_ifelse_new(scope, n1, n2, n3);
@@ -2334,7 +2335,8 @@ compile_lcomp(Compile *compile)
23342335
IOBJECT(element)->name);
23352336
param1->generated = TRUE;
23362337
symbol_parameter_init(param1);
2337-
param2 = symbol_new_defining(child->expr->compile, "$$sofar");
2338+
param2 = symbol_new_defining(child->expr->compile,
2339+
"$$sofar");
23382340
param2->generated = TRUE;
23392341
symbol_parameter_init(param2);
23402342

@@ -2363,7 +2365,8 @@ compile_lcomp(Compile *compile)
23632365
}
23642366
n3 = tree_appl_new(scope, n3, n2);
23652367
n2 = compile_copy_tree(compile,
2366-
element->expr->compile->tree, scope);
2368+
element->expr->compile->tree,
2369+
scope);
23672370
n3 = tree_appl_new(scope, n3, n2);
23682371
scope->tree = n3;
23692372

0 commit comments

Comments
 (0)