Correct C++ header handling for gcc2 and lex.
[dragonfly.git] / usr.bin / lex / COPYING
1 Flex carries the copyright used for BSD software, slightly modified
2 because it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
3 which operates under a contract with the Department of Energy:
4
5         Copyright (c) 1990 The Regents of the University of California.
6         All rights reserved.
7
8         This code is derived from software contributed to Berkeley by
9         Vern Paxson.
10
11         The United States Government has rights in this work pursuant
12         to contract no. DE-AC03-76SF00098 between the United States
13         Department of Energy and the University of California.
14
15         Redistribution and use in source and binary forms are permitted
16         provided that: (1) source distributions retain this entire
17         copyright notice and comment, and (2) distributions including
18         binaries display the following acknowledgement:  ``This product
19         includes software developed by the University of California,
20         Berkeley and its contributors'' in the documentation or other
21         materials provided with the distribution and in all advertising
22         materials mentioning features or use of this software.  Neither the
23         name of the University nor the names of its contributors may be
24         used to endorse or promote products derived from this software
25         without specific prior written permission.
26
27         THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
28         IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
29         WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
30         PURPOSE.
31
32 This basically says "do whatever you please with this software except
33 remove this notice or take advantage of the University's (or the flex
34 authors') name".
35
36 Note that the "flex.skl" scanner skeleton carries no copyright notice.
37 You are free to do whatever you please with scanners generated using flex;
38 for them, you are not even bound by the above copyright.