]> granicus.if.org Git - flex/commitdiff
Added BSD copyright notice
authorVern Paxson <vern@ee.lbl.gov>
Wed, 24 May 1989 11:44:18 +0000 (11:44 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Wed, 24 May 1989 11:44:18 +0000 (11:44 +0000)
ecs.c
gen.c
nfa.c

diff --git a/ecs.c b/ecs.c
index 1a87d418445330622811e6da1948e7171a693514..b9b84c2f2ae82719c1e070bd0a5da2916ca9b6e4 100644 (file)
--- a/ecs.c
+++ b/ecs.c
@@ -1,24 +1,42 @@
 /* ecs - equivalence class routines */
 
 /*
- * 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.
  */
 
-#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$ (LBL)";
+
 #endif
 
+#include "flexdef.h"
+
 /* ccl2ecl - convert character classes to set of equivalence classes
  *
  * synopsis
diff --git a/gen.c b/gen.c
index 52a42a689004a17267bf821359bc0e7c036ea147..fc81c8499d6f84db0475366f87e5be3a6b6c03e8 100644 (file)
--- a/gen.c
+++ b/gen.c
@@ -1,24 +1,42 @@
 /* gen - actual generation (writing) of flex scanners */
 
 /*
- * 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.
  */
 
-#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$ (LBL)";
+
 #endif
 
+#include "flexdef.h"
+
 
 static int indent_level = 0; /* each level is 4 spaces */
 
diff --git a/nfa.c b/nfa.c
index 90d7471b8facf62e2e756169c347c12bb8096847..d1c6f4ebbb9ba0903e7f157f1b097b0ab48cc66a 100644 (file)
--- a/nfa.c
+++ b/nfa.c
@@ -1,24 +1,42 @@
 /* nfa - NFA construction routines */
 
 /*
- * 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.
  */
 
-#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$ (LBL)";
+
 #endif
 
+#include "flexdef.h"
+
 /* add_accept - add an accepting state to a machine
  *
  * synopsis