]> granicus.if.org Git - flex/commitdiff
added BSD copyright notice
authorVern Paxson <vern@ee.lbl.gov>
Wed, 24 May 1989 11:42:56 +0000 (11:42 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Wed, 24 May 1989 11:42:56 +0000 (11:42 +0000)
ccl.c
dfa.c
misc.c
parse.y
scan.l
sym.c
tblcmp.c
yylex.c

diff --git a/ccl.c b/ccl.c
index 7d1b552178fb4387a63abe713a6438f7df80493b..37f3351f4643a5b0b0a64b39fa40b1f97fa85733 100644 (file)
--- a/ccl.c
+++ b/ccl.c
@@ -1,24 +1,42 @@
 /* ccl - routines for character classes */
 
 /*
- * 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"
+
 /* ccladd - add a single character to a ccl
  *
  * synopsis
diff --git a/dfa.c b/dfa.c
index 796a8d39528f4f64a12ef36f0441ce9c6ddd3f18..e177797fc54e76c0dee168097369f267b91b6c40 100644 (file)
--- a/dfa.c
+++ b/dfa.c
@@ -1,24 +1,42 @@
 /* dfa - DFA 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"
+
 
 /* check_for_backtracking - check a DFA state for backtracking
  *
diff --git a/misc.c b/misc.c
index 74934e4bd6f7c7a566d832268884c991df0630c7..5b36e57439debabf69416e3b780a5b6cf0458071 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -1,25 +1,43 @@
 /* misc - miscellaneous flex 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 <ctype.h>
-#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 <ctype.h>
+#include "flexdef.h"
+
 char *malloc(), *realloc();
 
 
diff --git a/parse.y b/parse.y
index 55cb3c5c6ee0ba2ff468b7761dee52b2d1320d3b..a26c5d42f2a4e89e6c03744e26441100281f51a3 100644 (file)
--- 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
 #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
 
 int pat, scnum, eps, headcnt, trailcnt, anyccl, lastchar, i, actvp, rulelen;
diff --git a/scan.l b/scan.l
index 4ac8ba13bb319d4736b6c88dd4bbae88a04f18a8..4717cfa627ee15cf268e0b64ca3db708aa18ef8f 100644 (file)
--- a/scan.l
+++ b/scan.l
@@ -1,15 +1,27 @@
 /* scan.l - scanner 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.
  */
 
 %{
 #include "parse.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
diff --git a/sym.c b/sym.c
index 78111c7c61f68353c55402d1dcbb38421f52fda6..34314f588e21a83771714e631f6492410335302e 100644 (file)
--- a/sym.c
+++ b/sym.c
@@ -1,24 +1,42 @@
 /* sym - symbol table 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"
+
 struct hash_entry *ndtbl[NAME_TABLE_HASH_SIZE];
 struct hash_entry *sctbl[START_COND_HASH_SIZE];
 struct hash_entry *ccltab[CCL_HASH_SIZE];
index 320eec9ad36587565360fa6e0e112b6fe9e39a31..18d653f04bce385bd87d5b53696f53969a89c3a1 100644 (file)
--- a/tblcmp.c
+++ b/tblcmp.c
@@ -1,24 +1,42 @@
 /* tblcmp - table compression 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"
+
 /* bldtbl - build table entries for dfa state
  *
  * synopsis
diff --git a/yylex.c b/yylex.c
index 9874c0ee36bb327ba4dc2539b5ab2464fb3e65d7..357aa0744c33aad1536c445a9dbf68ca4856b266 100644 (file)
--- a/yylex.c
+++ b/yylex.c
@@ -1,25 +1,43 @@
 /* yylex - scanner front-end for flex */
 
 /*
- * 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"
-#include "parse.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"
+#include "parse.h"
+
 /* yylex - scan for a regular expression token
  *
  * synopsis