You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cligen match code in match_pattern_sets() uses a result structure made for matches in a single parse-tree level. This works for a single match and for multiple matches on the same level, but does not work in the case shown here where there is a match in two levels: b in one level and d, e in another level.
In order to solve this, the code for matching multiple commands need to be enhanced. Specifically, the match_result structure needs to handle multiple levels.
Given a "hierarchical" cligen set command structure as follows:
It is possible to issue command:
a c b
anda c d b,
but query and completion does not work properly.For example, the following lacks the "b" option:
expected behavior:
The text was updated successfully, but these errors were encountered: