scripts: fix tokenizing of enum parameters in API builder
scripts: fix tokenizing of enum parameters in API builder

The API build script tokenizes enums declarations by first splitting on
whitespace. This is unhelpful as it means an enum

 # define VIR_USE_CPU(cpumap, cpu) ((cpumap)[(cpu) / 8] |= (1 << ((cpu) % 8)))

Gets tokenized as

  #define
  VIR_USE_CPU(cpumap,
  cpu)
  ((cpumap)[(cpu)
  /
  8]
  |=
  (1
  <<
  ((cpu)
  %
  8)))

With this change, the set of parameters are all merged into the first
token:

  #define
  VIR_USE_CPU(cpumap,cpu)
  ((cpumap)[(cpu)
  /
  8]
  |=
  (1
  <<
  ((cpu)
  %
  8)))

which is more convenient to process later on in the script.

Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Signed-off-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

jardasgit/libvirt,jardasgit/libvirt,libvirt/libvirt,zippy2/libvirt,jardasgit/libvirt,crobinso/libvirt,olafhering/libvirt,zippy2/libvirt,libvirt/libvirt,olafhering/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,jfehlig/libvirt,nertpinx/libvirt,jardasgit/libvirt,nertpinx/libvirt,olafhering/libvirt,olafhering/libvirt,jfehlig/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,crobinso/libvirt,zippy2/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,jardasgit/libvirt