xref: /freebsd/contrib/flex/COPYING (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1Flex carries the copyright used for BSD software, slightly modified
2because it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
3which operates under a contract with the Department of Energy:
4
5Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The Flex Project.
6
7Copyright (c) 1990, 1997 The Regents of the University of California.
8All rights reserved.
9
10This code is derived from software contributed to Berkeley by
11Vern Paxson.
12
13The United States Government has rights in this work pursuant
14to contract no. DE-AC03-76SF00098 between the United States
15Department of Energy and the University of California.
16
17Redistribution and use in source and binary forms, with or without
18modification, are permitted provided that the following conditions
19are met:
20
211. Redistributions of source code must retain the above copyright
22   notice, this list of conditions and the following disclaimer.
232. Redistributions in binary form must reproduce the above copyright
24   notice, this list of conditions and the following disclaimer in the
25   documentation and/or other materials provided with the distribution.
26
27Neither the name of the University nor the names of its contributors
28may be used to endorse or promote products derived from this software
29without specific prior written permission.
30
31THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
32IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
33WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
34PURPOSE.
35
36This basically says "do whatever you please with this software except
37remove this notice or take advantage of the University's (or the flex
38authors') name".
39
40Note that the "flex.skl" scanner skeleton carries no copyright notice.
41You are free to do whatever you please with scanners generated using flex;
42for them, you are not even bound by the above copyright.
43