Re: [PATCH 10/16] Introduce class function_reader (v3)

2016-10-10 Thread Richard Sandiford
David Malcolm writes: > On Wed, 2016-10-05 at 18:00 +0200, Bernd Schmidt wrote: >> On 10/05/2016 06:15 PM, David Malcolm wrote: >> >* errors.c: Use consistent pattern for bconfig.h vs config.h >> >includes. >> >(progname): Wrap with #ifdef GENERATOR_FILE. >> >(error): Likewise. Ad

Re: [PATCH 10/16] Introduce class function_reader (v3)

2016-10-07 Thread David Malcolm
On Wed, 2016-10-05 at 18:00 +0200, Bernd Schmidt wrote: > On 10/05/2016 06:15 PM, David Malcolm wrote: > > * errors.c: Use consistent pattern for bconfig.h vs config.h > > includes. > > (progname): Wrap with #ifdef GENERATOR_FILE. > > (error): Likewise. Add "error: " to message. >

Re: [PATCH 10/16] Introduce class function_reader (v3)

2016-10-05 Thread Bernd Schmidt
On 10/05/2016 06:15 PM, David Malcolm wrote: * errors.c: Use consistent pattern for bconfig.h vs config.h includes. (progname): Wrap with #ifdef GENERATOR_FILE. (error): Likewise. Add "error: " to message. (fatal): Likewise. (internal_error): Likew

[PATCH 10/16] Introduce class function_reader (v3)

2016-10-05 Thread David Malcolm
This patch implements class function_reader, which implements the dump-parsing functionality used in the rest of the kit. Changed in v3: * rather than hardcoding the selftest input dumps as escaped C strings in the source code, move them out into separate files, using selftest::locate_file * updat