From 610d4647e0b80456089944e37e9967524b00f77d Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 30 Apr 2006 14:19:02 +0000 Subject: [PATCH] fix : included config files are now using the same scan_error handler as parent git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2988 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/lex.c b/bacula/src/lib/lex.c index ab0c3224a2..ce5f519423 100644 --- a/bacula/src/lib/lex.c +++ b/bacula/src/lib/lex.c @@ -499,7 +499,7 @@ lex_get_token(LEX *lf, int expect) LEX* lfori = lf; lf->state = lex_none; - lf = lex_open_file(lf, lf->str, NULL); + lf = lex_open_file(lf, lf->str, lf->scan_error); if (lf == NULL) { berrno be; scan_err2(lfori, _("Cannot open included config file %s: %s\n"), -- 2.39.5