Re: [PATCH 4/7] ident_split: store begin/end pairs on their own struct

2014-06-22 Thread Eric Sunshine
On Wednesday, June 18, 2014, Jeff King wrote: > Subject: ident_split: store begin/end pairs on their own struct s/on/in/ > When we parse an ident line, we end up with several fields, > each with a begin/end pointer into the buffer, like: > > const char *name_begin; > const char *name_end; >

[PATCH 4/7] ident_split: store begin/end pairs on their own struct

2014-06-18 Thread Jeff King
When we parse an ident line, we end up with several fields, each with a begin/end pointer into the buffer, like: const char *name_begin; const char *name_end; There is nothing except the field names to indicate that they are paired. This makes it annoying to write helper functions for dealing