* src/parse-gram.y: Put copyright notice inside %{ %} so it

gets copied to the output file.
This commit is contained in:
Paul Eggert
2004-05-03 07:57:06 +00:00
parent 4febdd9667
commit 12ffdd2835
2 changed files with 45 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
/* Bison Grammar Parser -*- C -*-
%{/* Bison Grammar Parser -*- C -*-
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
@@ -20,16 +20,6 @@
02111-1307 USA
*/
%debug
%defines
%locations
%pure-parser
%error-verbose
%defines
%name-prefix="gram_"
%{
#include "system.h"
#include "complain.h"
@@ -66,6 +56,14 @@ assoc current_assoc;
int current_prec = 0;
%}
%debug
%defines
%locations
%pure-parser
%error-verbose
%defines
%name-prefix="gram_"
%initial-action
{
/* Bison's grammar can initial empty locations, hence a default