* data/c.m4 (b4_c_modern): New macro, with a new provision for _MSC_VER.

(b4_c_function_def): Use it.
* data/yacc.c (YYMODERN_C): Remove.  All uses replaced by
b4_c_modern.
(yystrlen, yystpcpy, yyparse): Use b4_c_function... macros rather
than rolling our own.
This commit is contained in:
Paul Eggert
2006-01-04 23:35:43 +00:00
parent 8486615972
commit 1b9c21fb18
3 changed files with 37 additions and 45 deletions

View File

@@ -1,3 +1,13 @@
2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
* data/c.m4 (b4_c_modern): New macro, with a new provision for
_MSC_VER. Problem reported by Cenzato Marco.
(b4_c_function_def): Use it.
* data/yacc.c (YYMODERN_C): Remove. All uses replaced by
b4_c_modern.
(yystrlen, yystpcpy, yyparse): Use b4_c_function... macros rather
than rolling our own.
2006-01-04 Akim Demaille <akim@epita.fr>
Also warn about non-used mid-rule values.