summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_commands.py
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-23 09:02:08 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-01 18:45:27 +0100
commitb07a15f82dc1dd60316ab92edc4f612eced7ffa3 (patch)
tree413acc50238015d1d559663ab975a89781e1da9f /tests/lib/cli/test_commands.py
parent2ab402707ff0ebe4b7b87ef0ffb3233e791cb92f (diff)
lib: parser: wrap state in struct parser_ctx
This encapsulates all parser state into a new "struct parser_ctx", which is allocated on stack and passed around as pointer. The parser no longer has any global variables with this. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_commands.py')
0 files changed, 0 insertions, 0 deletions