thestig | a22f653 | 2014-12-17 06:54:08 +0900 | [diff] [blame] | 1 | diff --git a/third_party/ply/__init__.py b/third_party/ply/__init__.py |
| 2 | index 853a985..f3da03e 100644 |
| 3 | --- a/third_party/ply/__init__.py |
| 4 | +++ b/third_party/ply/__init__.py |
| 5 | @@ -1,4 +1,36 @@ |
| 6 | # PLY package |
| 7 | # Author: David Beazley (dave@dabeaz.com) |
| 8 | +# ----------------------------------------------------------------------------- |
| 9 | +# ply: yacc.py |
| 10 | +# |
| 11 | +# Copyright (C) 2001-2011, |
| 12 | +# David M. Beazley (Dabeaz LLC) |
| 13 | +# All rights reserved. |
| 14 | +# |
| 15 | +# Redistribution and use in source and binary forms, with or without |
| 16 | +# modification, are permitted provided that the following conditions are |
| 17 | +# met: |
| 18 | +# |
| 19 | +# * Redistributions of source code must retain the above copyright notice, |
| 20 | +# this list of conditions and the following disclaimer. |
| 21 | +# * Redistributions in binary form must reproduce the above copyright notice, |
| 22 | +# this list of conditions and the following disclaimer in the documentation |
| 23 | +# and/or other materials provided with the distribution. |
| 24 | +# * Neither the name of the David Beazley or Dabeaz LLC may be used to |
| 25 | +# endorse or promote products derived from this software without |
| 26 | +# specific prior written permission. |
| 27 | +# |
| 28 | +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 29 | +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 30 | +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 31 | +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 32 | +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 33 | +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 34 | +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 35 | +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 36 | +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 37 | +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 38 | +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 39 | +# ----------------------------------------------------------------------------- |
| 40 | |
| 41 | __all__ = ['lex','yacc'] |