diff options
-rw-r--r-- | tools/libxl/libxlu_cfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxl/libxlu_cfg.c b/tools/libxl/libxlu_cfg.c index 663fdf9a02..f947c219b4 100644 --- a/tools/libxl/libxlu_cfg.c +++ b/tools/libxl/libxlu_cfg.c @@ -43,6 +43,9 @@ static void ctx_dispose(CfgParseContext *ctx) { static void parse(CfgParseContext *ctx) { /* On return, ctx.err will be updated with the error status. */ int r; + + xlu__cfg_yyset_lineno(1, ctx->scanner); + r= xlu__cfg_yyparse(ctx); if (r) assert(ctx->err); |