Peter Krempa 5540c3d241 vsh: Refactor logic in vshCommandParse
Refactor the existing logic using two nested loops with a jump into the
middle of both with 3 separate places fetching next token to a single
loop using a state machine with one centralized place to fetch next
tokens and add explanation comments.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-04-25 14:13:20 +02:00
..
2024-04-18 14:57:30 +02:00
2019-08-09 09:03:53 +02:00
2023-03-13 13:29:07 +01:00
2023-05-05 15:08:25 +02:00
2024-04-25 14:13:20 +02:00