summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorvern <vern>1989-05-24 11:42:56 +0000
committervern <vern>1989-05-24 11:42:56 +0000
commit992ada847ff2baf626536629fe7263ff9297bd68 (patch)
tree7f6e0389eaa05b1f5f08a26199d7c5b3ff815a28 /parse.y
parent9608843f4c3c037fdddcd461ccf0db193a539e14 (diff)
downloadflex-992ada847ff2baf626536629fe7263ff9297bd68.tar.gz
added BSD copyright notice
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y30
1 files changed, 24 insertions, 6 deletions
diff --git a/parse.y b/parse.y
index 2a2af2e..0a7807e 100644
--- a/parse.y
+++ b/parse.y
@@ -1,15 +1,27 @@
/* parse.y - parser for flex input */
/*
- * Copyright (c) 1987, the University of California
+ * Copyright (c) 1989 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Vern Paxson.
*
* The United States Government has rights in this work pursuant to
* contract no. DE-AC03-76SF00098 between the United States Department of
* Energy and the University of California.
- *
- * This program may be redistributed. Enhancements and derivative works
- * may be created provided the new works, if made available to the general
- * public, are made available for use by anyone.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley. The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
%token CHAR NUMBER SECTEND SCDECL XSCDECL WHITESPACE NAME PREVCCL
@@ -19,8 +31,14 @@
#include "flexdef.h"
#ifndef lint
+
+static char copyright[] =
+ "@(#) Copyright (c) 1989 The Regents of the University of California.\n\
+ All rights reserved.\n";
+
static char rcsid[] =
- "@(#) $Header: /cvsroot/flex/flex/parse.y,v 1.5 1989/05/19 14:09:39 vern Exp $ (LBL)";
+ "@(#) $Header: /cvsroot/flex/flex/parse.y,v 1.6 1989/05/24 11:43:38 vern Exp $ (LBL)";
+
#endif
int pat, scnum, eps, headcnt, trailcnt, anyccl, lastchar, i, actvp, rulelen;