mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
* src/parse-gram.y: Put copyright notice inside %{ %} so it
gets copied to the output file.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user