mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
Use b4_c_modern.
* data/c.m4 (b4_c_function_decl): Here.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-02-19 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Use b4_c_modern.
|
||||||
|
* data/c.m4 (b4_c_function_decl): Here.
|
||||||
|
|
||||||
2009-02-19 Akim Demaille <demaille@gostai.com>
|
2009-02-19 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Comment changes.
|
Comment changes.
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
-*- Autoconf -*-
|
-*- Autoconf -*-
|
||||||
|
|
||||||
# C M4 Macros for Bison.
|
# C M4 Macros for Bison.
|
||||||
# Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008 Free Software
|
# Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008, 2009
|
||||||
# Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -342,7 +342,7 @@ m4_define([b4_c_knr_formal_decl],
|
|||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# Declare the function NAME.
|
# Declare the function NAME.
|
||||||
m4_define([b4_c_function_decl],
|
m4_define([b4_c_function_decl],
|
||||||
[#if defined __STDC__ || defined __cplusplus
|
[#if b4_c_modern
|
||||||
b4_c_ansi_function_decl($@)
|
b4_c_ansi_function_decl($@)
|
||||||
#else
|
#else
|
||||||
$2 $1 ();
|
$2 $1 ();
|
||||||
|
|||||||
Reference in New Issue
Block a user