Currently, address spaces are displayed like '<asn:1>'. It would be much nicer to display them by name instead. This series allows to associate a name with AS either via the usual attribute syntax: 'attribute(address_space(__user))' or via a command line option. Luc Van Oostenryck (4): as-name: add and use show_as() as-name: allow real names for address spaces as-name: allow ident as address_space as-name: specify the names via -faddress-space-names evaluate.c | 6 +++--- lib.c | 16 ++++++++++++++++ lib.h | 1 + parse.c | 41 ++++++++++++++++++++++++++++++++++++----- show-parse.c | 18 +++++++++++++++++- symbol.h | 1 + validation/as-name.c | 17 +++++++++++++++++ 7 files changed, 91 insertions(+), 9 deletions(-) create mode 100644 validation/as-name.c -- 2.19.0