[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI [trunk]: calc-at-fix.patch
From: |
Marc Autret |
Subject: |
FYI [trunk]: calc-at-fix.patch |
Date: |
29 Nov 2001 15:48:06 -0500 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Hi,
This patch makes the testsuite fit the new %error-verbose
option.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.324
diff -u -r1.324 ChangeLog
--- ChangeLog 2001/11/28 22:28:01 1.324
+++ ChangeLog 2001/11/29 20:34:45
@@ -1,3 +1,9 @@
+2001-11-29 Marc Autret <address@hidden>
+
+ * tests/calc.at [AT_DATA_CALC_Y]: Use %error-verbose instead
+ of defining YYERROR_VERBOSE.
+ [AT_DATA]: $4 is now out of C declarations in the prologue.
+
2001-11-28 Marc Autret <address@hidden>
* src/reader.c (parse_dquoted_param): New.
Index: tests/calc.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/calc.at,v
retrieving revision 1.12
diff -u -r1.12 calc.at
--- tests/calc.at 2001/11/19 10:27:52 1.12
+++ tests/calc.at 2001/11/29 20:34:45
@@ -53,7 +53,6 @@
char *strcat(char *dest, const char *src);
#endif
#include <ctype.h>
-]$4[
static int power (int base, int exponent);
static void yyerror (const char *s);
@@ -74,6 +73,8 @@
%left NEG /* negation--unary minus */
%right '^' /* exponentiation */
+]$4[
+
/* Grammar follows */
%%
input:
@@ -258,7 +259,7 @@
m4_define([AT_DATA_CALC_Y],
[_AT_DATA_CALC_Y($[1], $[2], $[3],
[m4_bmatch([$1], [--yyerror-verbose],
- [[#define YYERROR_VERBOSE]])])])
+ [[%error-verbose]])])])
--
Marc Autret
- FYI [trunk]: calc-at-fix.patch,
Marc Autret <=