Commit a96d3af
committed
Fix sugared foreach() syntax parsing
- Fix `foreach(... in ...)` and `foreach(... as ...)` syntax parsing. Bug was introduced in build 4024.
- Make `foreach` use `__statements__` as in-between rewrite node instead of `sconcat`. No functional changes.1 parent 69f6baa commit a96d3af
File tree
1 file changed
+7
-6
lines changed- src/main/java/com/laytonsmith/core/functions
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1600 | 1600 | | |
1601 | 1601 | | |
1602 | 1602 | | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
1606 | 1606 | | |
1607 | | - | |
| 1607 | + | |
1608 | 1608 | | |
1609 | | - | |
| 1609 | + | |
1610 | 1610 | | |
1611 | 1611 | | |
1612 | | - | |
| 1612 | + | |
| 1613 | + | |
1613 | 1614 | | |
1614 | 1615 | | |
1615 | 1616 | | |
| |||
0 commit comments