license.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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: __init__.py
  10. +#
  11. +# Copyright (C) 2001-2018
  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. __version__ = '3.11'
  41. __all__ = ['lex','yacc']