From 886a41b16b30e495b0508ceae3eeb9cea3304d43 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 24 Mar 2008 12:07:20 +0100 Subject: [PATCH] liboconfig/parser.y: Enabled verbose error messages. This uses bison's "%error-verbose" option which might not be available in other yacc implementations. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- src/liboconfig/parser.y | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/liboconfig/parser.y b/src/liboconfig/parser.y index 48b9bf3d..d237273c 100644 --- a/src/liboconfig/parser.y +++ b/src/liboconfig/parser.y @@ -65,6 +65,9 @@ extern char *c_file; %type statement_list %type entire_file +/* pass an verbose, specific error message to yyerror() */ +%error-verbose + %% string: QUOTED_STRING {$$ = unquote ($1);} -- 2.11.0