]> git.proxmox.com Git - mirror_ovs.git/commit - ovsdb/ovsdb-idlc.in
ovsdb-idlc: Simplify code generation to parse sets and maps of references.
authorBen Pfaff <blp@ovn.org>
Wed, 24 Aug 2016 18:47:56 +0000 (11:47 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 19 Oct 2016 18:38:52 +0000 (11:38 -0700)
commitcff5afcfcc8be30413cb024ce5b29c2693f7f971
tree121c1fbef66a6a1e7322001a6ae1da1b48e4a371
parente0b1744ffa87c22c35745701be8ce55ccc92c87c
ovsdb-idlc: Simplify code generation to parse sets and maps of references.

This switches from code that looks like:
    if (keyRow) {
        ...
    }
to:
    if (!keyRow) {
        continue;
    }
    ...
which is a little easier to generate because the indentation of ... is
constant.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
ovsdb/ovsdb-idlc.in