mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
c++: always issue the "generated by" message
Some users rely on this sentence to know that the file can be ignored. Reported by Alexandre Duret-Lutz. * data/bison.m4 (b4_generated_by): New. (b4_copyright): Use it. * data/location.cc, data/stack.hh: Use it too, for the stub files (position.hh and stack.hh).
This commit is contained in:
@@ -22,12 +22,17 @@
|
||||
## Identification. ##
|
||||
## ---------------- ##
|
||||
|
||||
# b4_generated_by
|
||||
# ---------------
|
||||
m4_define([b4_generated_by],
|
||||
[b4_comment([A Bison parser, made by GNU Bison b4_version.])
|
||||
])
|
||||
|
||||
# b4_copyright(TITLE, [YEARS])
|
||||
# ----------------------------
|
||||
# If YEARS are not defined, use b4_copyright_years.
|
||||
m4_define([b4_copyright],
|
||||
[b4_comment([A Bison parser, made by GNU Bison b4_version.])
|
||||
|
||||
[b4_generated_by
|
||||
b4_comment([$1
|
||||
|
||||
]m4_dquote(m4_text_wrap([Copyright (C)
|
||||
|
||||
Reference in New Issue
Block a user