Repository navigation
Commit 83fdf2f
committed
Generate leaner rule code
The generator leaves out token checks the surrounding code already
guarantees, and builds children with array_slice() now that no reducer
pushes a list onto the value stack.
Amp-Thread-ID: https://ampcode.com/threads/T-01a17820-94d1-75c8-9206-2e802d9c05561 parent 3f975de commit 83fdf2f
5 files changed
Lines changed: 9393 additions & 13125 deletions
File tree
- src/Parser
- Generated
- tools/phplrt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
1061 | | - | |
1062 | 1060 | | |
1063 | | - | |
| 1061 | + | |
1064 | 1062 | | |
1065 | 1063 | | |
1066 | | - | |
1067 | | - | |
1068 | 1064 | | |
1069 | 1065 | | |
1070 | 1066 | | |
| |||
0 commit comments