summaryrefslogtreecommitdiff
path: root/scan.l
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1990-06-27 23:47:53 +0000
committerVern Paxson <vern@ee.lbl.gov>1990-06-27 23:47:53 +0000
commit70c3465c347a70b37491174080913ec331e902ce (patch)
tree01ae827742a69a192e60de87959d94def6c32f81 /scan.l
parent059a869fbda245349577fc5c0ec3310c648544d6 (diff)
4.4 BSD copyright
Diffstat (limited to 'scan.l')
-rw-r--r--scan.l51
1 files changed, 25 insertions, 26 deletions
diff --git a/scan.l b/scan.l
index 59864a4..d02acc2 100644
--- a/scan.l
+++ b/scan.l
@@ -1,44 +1,43 @@
+
/* scan.l - scanner for flex input */
-/*
- * Copyright (c) 1989 The Regents of the University of California.
+%{
+/*-
+ * Copyright (c) 1990 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.
+ * 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.
*
- * 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.
+ * Redistribution and use in source and binary forms are permitted provided
+ * that: (1) source distributions retain this entire copyright notice and
+ * comment, and (2) distributions including binaries display the following
+ * acknowledgement: ``This product includes software developed by the
+ * University of California, Berkeley and its contributors'' in the
+ * documentation or other materials provided with the distribution and in
+ * all advertising materials mentioning features or use of this software.
+ * Neither the name of the University nor the names of its contributors may
+ * 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.
*/
-%{
-#undef yywrap
-
-#include "flexdef.h"
-#include "parse.h"
-
#ifndef lint
-static char copyright[] =
- "@(#) Copyright (c) 1989 The Regents of the University of California.\n";
-static char CR_continuation[] = "@(#) All rights reserved.\n";
-
static char rcsid[] =
"@(#) $Header$ (LBL)";
#endif
+#undef yywrap
+
+#include "flexdef.h"
+#include "parse.h"
+
#define ACTION_ECHO fprintf( temp_action_file, "%s", yytext )
#define MARK_END_OF_PROLOG fprintf( temp_action_file, "%%%% end of prolog\n" );