This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit 8e2a2a0
Parse mos-file statements using iteration
Recursion caused very long mos-files to crash during the parsing. Doing
a listReverseInPlace is a small price to pay for not crashing.
Note: There will be no testcase for this since you need ~45MB mos-files
to trigger this on an -Os optimized omc (really only triggers for
-O0 -g).1 parent f9882c3 commit 8e2a2a0
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | | - | |
| 1679 | + | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
1683 | 1683 | | |
1684 | 1684 | | |
1685 | | - | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1691 | 1693 | | |
1692 | 1694 | | |
| 1695 | + | |
| 1696 | + | |
1693 | 1697 | | |
1694 | 1698 | | |
1695 | 1699 | | |
| |||
0 commit comments