summaryrefslogtreecommitdiff
path: root/demos/calc
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-08-15 23:59:50 +0200
committerKevin Ryde <user42@zip.com.au>2001-08-15 23:59:50 +0200
commit228661011f7d148f1aa30a5e7b8b09438da459a9 (patch)
tree05f3088e2c1d928d37bdf49b141d60516498ebea /demos/calc
parent3b0403c5751ca2cb3804074e97cedd7d6e566a4d (diff)
downloadgmp-228661011f7d148f1aa30a5e7b8b09438da459a9.tar.gz
* demos/calc/calc.y, calclex.l: Reposition "%{" so copyright notice
gets into generated files.
Diffstat (limited to 'demos/calc')
-rw-r--r--demos/calc/calclex.l8
1 files changed, 3 insertions, 5 deletions
diff --git a/demos/calc/calclex.l b/demos/calc/calclex.l
index 1acbf3466..f1593ff08 100644
--- a/demos/calc/calclex.l
+++ b/demos/calc/calclex.l
@@ -1,6 +1,6 @@
-/* Lexical analyzer for calc.y. */
+%{
+/* Lexical analyzer for calc.y.
-/*
Copyright 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -16,11 +16,9 @@ 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. */
-%{
#include "calc.h"
#define numberof(x) (sizeof (x) / sizeof ((x)[0]))