Commit 62ff40b6 authored by Mans Rullgard's avatar Mans Rullgard

bits: add BF_NONL flag

parent 675c8f10
......@@ -260,7 +260,8 @@ uint64_t print_field(struct bitreader *b, int size, int flags,
if (values && values[v])
printf(" [%s]", values[v]);
printf("\n");
if (!(flags & BF_NONL))
printf("\n");
return v;
}
......
......@@ -59,6 +59,7 @@ struct bitfield {
#define BF_DATA (1 << 3)
#define BF_RET (1 << 4)
#define BF_SIZE (1 << 5)
#define BF_NONL (1 << 6)
struct frame {
const char *name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment