Commit e90f186
committed
ParseXS: standard_typemap_locations(): use push
Currently this function builds a list of paths in reverse order, but
*unshifts* each result one by one so that they end up in the right
order.
This commit switches the order of generation and *pushes* the result
each time.
The net result is the same, but its less cognitive load working out
what's going on.1 parent facf65b commit e90f186
1 file changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | | - | |
123 | | - | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
0 commit comments