]> git.ipfire.org Git - thirdparty/libvirt.git/commit
apibuild: Substitute only pure number tokens
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 30 May 2016 13:38:07 +0000 (15:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 30 May 2016 13:38:07 +0000 (15:38 +0200)
commit3864d86385e70a333e3b87c1459be0cc3cd683b7
tree61cb8346e6ef6282a4408423c48bff3cace10a3c
parentb099aa88e9abef63a2c35c0b117f1b84654b28e9
apibuild: Substitute only pure number tokens

In 38df47c9af1 I've tried to prepare our apibuild.py script for
change made in 0628f3498ce (1U << 31). What I've done in the
former commit was to replace \d+U in parsed tokens with \d.
Problem was, my regular expression there was not quite right as
it also translated VIR_123U_VAL into VIR_123_VAL.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/apibuild.py