X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/882f02ed8383e5dc0d2122d72a77143acd9d3607..e436fa677c748f52929996590d3e46b5f984d6dc:/examples/variant.yy diff --git a/examples/variant.yy b/examples/variant.yy index 8471e6e8..39a57ba8 100644 --- a/examples/variant.yy +++ b/examples/variant.yy @@ -1,7 +1,24 @@ +/* + Copyright (C) 2008-2012 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + %debug %skeleton "lalr1.cc" %defines -%define assert +%define parse.assert %define variant %define lex_symbol %locations