* data/yacc.c: Output the copyright notive in the header.

This commit is contained in:
Akim Demaille
2002-07-09 09:43:22 +00:00
parent 7db2ed2d82
commit c76e14da4b
5 changed files with 46 additions and 20 deletions

View File

@@ -29,7 +29,7 @@ m4_define([b4_copyright],
[/* A Bison parser, made from b4_filename, by GNU bison b4_version. */
/* $1,
Copyright $2 Free Software Foundation, Inc.
Copyright (C) $2 Free Software Foundation, Inc.
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

View File

@@ -1230,9 +1230,10 @@ m4_map([b4_symbol_actions], m4_defn([b4_symbol_printers]))dnl
b4_epilogue
m4_if(b4_defines_flag, 0, [],
[b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
[#output "b4_output_header_name"
b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
[1984, 1989, 1990, 2000, 2001, 2002])
#output "b4_output_header_name"
#ifndef b4_header_guard
# define b4_header_guard