From d7320df1c06610e8d83c2e037e8544f7d2792d87 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 16 Apr 2018 06:45:11 -0700 Subject: parser: propagate copyright to generated parser. * parser.y: Move the copyright comment header into the %{ ... %} section so that it is copied to the generated parser, rathe than stripped away by the generator. The problem is that Bison adds a GPL header to the file wrongly implying that the whole thing is under the GPL (with a special exception). Without our copyright header there, it looks as if the whole file is from Bison. --- parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.y b/parser.y index 139ba052..abc12d1c 100644 --- a/parser.y +++ b/parser.y @@ -1,3 +1,5 @@ +%{ + /* Copyright 2009-2018 * Kaz Kylheku * Vancouver, Canada @@ -25,8 +27,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -%{ - #include #include #include -- cgit v1.2.3