diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-08-15 23:45:05 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-08-15 23:45:05 +0200 |
commit | 3b0403c5751ca2cb3804074e97cedd7d6e566a4d (patch) | |
tree | 4ac5f31aa9ad008ea1ceec66b198a07c4b9d7c58 /demos/calc/calc.y | |
parent | cefdc62538a9882db028f6a9d2e37ad1b2d5966f (diff) | |
download | gmp-3b0403c5751ca2cb3804074e97cedd7d6e566a4d.tar.gz |
* demos/calc/calc.y, calclex.l: Reposition "%{" so copyright notice
gets into generated files.
Diffstat (limited to 'demos/calc/calc.y')
-rw-r--r-- | demos/calc/calc.y | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/demos/calc/calc.y b/demos/calc/calc.y index e795058d2..729bbbcfe 100644 --- a/demos/calc/calc.y +++ b/demos/calc/calc.y @@ -1,6 +1,6 @@ -/* A simple integer desk calculator using yacc and gmp. */ +%{ +/* A simple integer desk calculator using yacc and gmp. -/* Copyright 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -16,8 +16,7 @@ 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, write to the Free Software Foundation, Inc., 59 Temple -Place - Suite 330, Boston, MA 02111-1307, USA. -*/ +Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This is a simple program, meant only to show one way to use GMP for this @@ -83,7 +82,6 @@ Place - Suite 330, Boston, MA 02111-1307, USA. the mpz_init_realloc_clear example in tune/README). */ -%{ #include <stdio.h> #include <stdlib.h> |