Repository navigation
Commit a422dc9
parser yin BUGFIX index of if-feature, unique and default exts
The YIN parser created the extension instances of an if-feature,
unique or a default of a leaf-list, refine or deviate always with
the index 0, so the printers and lysp_ext_instance_path() took them
all for instances of the first item. The parent of those of a default
was also the item instead of the array.
Set the array as the parent and the index of the item, as the YANG
parser does.1 parent 5ccf4f3 commit a422dc9
2 files changed
Lines changed: 51 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
1136 | 1141 | | |
1137 | 1142 | | |
1138 | 1143 | | |
1139 | 1144 | | |
1140 | 1145 | | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
| 1146 | + | |
| 1147 | + | |
1147 | 1148 | | |
1148 | | - | |
1149 | | - | |
| 1149 | + | |
| 1150 | + | |
1150 | 1151 | | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
| 1152 | + | |
| 1153 | + | |
1161 | 1154 | | |
1162 | | - | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1163 | 1162 | | |
1164 | | - | |
1165 | | - | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1166 | 1166 | | |
1167 | | - | |
1168 | | - | |
| 1167 | + | |
| 1168 | + | |
1169 | 1169 | | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1175 | 1173 | | |
1176 | | - | |
1177 | | - | |
| 1174 | + | |
| 1175 | + | |
1178 | 1176 | | |
1179 | 1177 | | |
1180 | 1178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2238 | 2238 | | |
2239 | 2239 | | |
2240 | 2240 | | |
| 2241 | + | |
2241 | 2242 | | |
2242 | 2243 | | |
2243 | 2244 | | |
| |||
2284 | 2285 | | |
2285 | 2286 | | |
2286 | 2287 | | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
2287 | 2298 | | |
2288 | 2299 | | |
2289 | 2300 | | |
| |||
2317 | 2328 | | |
2318 | 2329 | | |
2319 | 2330 | | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
2320 | 2337 | | |
2321 | 2338 | | |
2322 | 2339 | | |
| |||
2345 | 2362 | | |
2346 | 2363 | | |
2347 | 2364 | | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
2348 | 2371 | | |
2349 | 2372 | | |
2350 | 2373 | | |
| |||
0 commit comments