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

2015-03-18 Thread Ian Campbell
On Mon, 2015-03-16 at 09:52 +, 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 Acked-by: Ian Campbell > Cc: Ian Jackson

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

2015-03-16 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 v8: 1. Define YYLTYPE in libxl_internal.h and get ri