Re: [Xen-devel] [PATCH v7 18/21] libxlu: record location when parsing values

2015-03-12 Thread Ian Campbell
On Wed, 2015-03-11 at 15:16 +, Wei Liu wrote: > On Wed, Mar 11, 2015 at 03:12:49PM +, Ian Campbell wrote: > > On Mon, 2015-03-09 at 12:51 +, Wei Liu wrote: > > > Originally only setting has line number recorded. Since we're moving to > > > more sophisticated API, record the location for

Re: [Xen-devel] [PATCH v7 18/21] libxlu: record location when parsing values

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 03:12:49PM +, Ian Campbell wrote: > On Mon, 2015-03-09 at 12:51 +, Wei Liu wrote: > > Originally only setting has line number recorded. Since we're moving to > > more sophisticated API, record the location for individual value. It is > > useful for error reporting. >

Re: [Xen-devel] [PATCH v7 18/21] libxlu: record location when parsing values

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 12:51 +, Wei Liu wrote: > Originally only setting has line number recorded. Since we're moving to > more sophisticated API, record the location for individual value. It is > useful for error reporting. > > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jackson I'

[Xen-devel] [PATCH v7 18/21] libxlu: record location when parsing values

2015-03-09 Thread Wei Liu
Originally only setting has line number recorded. Since we're moving to more sophisticated API, record the location for individual value. It is useful for error reporting. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- Changes in v7: 1. Use yylloc in empty rule. 1. Use YYLTYPE inst