From: David Kastrup Date: Thu, 2 Aug 2012 07:08:45 +0000 (+0200) Subject: parser.yy: Use Bison directives rather than preprocessor macros X-Git-Tag: release/2.15.95-1~33 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9999eea970ba75387a53496aa39ffc05a3f11516;p=lilypond.git parser.yy: Use Bison directives rather than preprocessor macros YYERROR_VERBOSE has been deprecated in Bison 2.6. --- diff --git a/lily/parser.yy b/lily/parser.yy index 3365511158..fc9aea63be 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -29,9 +29,6 @@ %{ -#define YYDEBUG 1 -#define YYERROR_VERBOSE 1 - #define yyerror Lily_parser::parser_error /* We use custom location type: Input objects */ @@ -44,6 +41,8 @@ %parse-param {Lily_parser *parser} %lex-param {Lily_parser *parser} +%error-verbose +%debug /* We use SCMs to do strings, because it saves us the trouble of deleting them. Let's hope that a stack overflow doesn't trigger a move