diff options
| author | Joakim Verona | 2011-07-31 23:57:51 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-07-31 23:57:51 +0200 |
| commit | 332f858fd7fa815846cfc48219df8952c75a44ae (patch) | |
| tree | 0090ab405bb08d817b530130af98c9a580f6ee1d /etc | |
| parent | fceaa88120e9f907c279baecd2e755b16e667059 (diff) | |
| parent | e8500ff4af0d6c390f66a1f6d7d22695e590a8af (diff) | |
| download | emacs-332f858fd7fa815846cfc48219df8952c75a44ae.tar.gz emacs-332f858fd7fa815846cfc48219df8952c75a44ae.zip | |
merge upstream
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/grammars/bovine-grammar.el | 2 | ||||
| -rw-r--r-- | etc/grammars/c.by | 29 | ||||
| -rw-r--r-- | etc/grammars/java-tags.wy | 39 | ||||
| -rw-r--r-- | etc/grammars/javascript-jv.wy | 83 | ||||
| -rw-r--r-- | etc/grammars/make.by | 29 | ||||
| -rw-r--r-- | etc/grammars/python.wy | 89 | ||||
| -rw-r--r-- | etc/grammars/scheme.by | 30 |
7 files changed, 183 insertions, 118 deletions
diff --git a/etc/grammars/bovine-grammar.el b/etc/grammars/bovine-grammar.el index eb094868b3b..99da6ea5599 100644 --- a/etc/grammars/bovine-grammar.el +++ b/etc/grammars/bovine-grammar.el | |||
| @@ -436,4 +436,4 @@ Menu items are appended to the common grammar menu.") | |||
| 436 | 436 | ||
| 437 | (provide 'semantic/bovine/grammar) | 437 | (provide 'semantic/bovine/grammar) |
| 438 | 438 | ||
| 439 | ;;; semantic/bovine/grammar.el ends here | 439 | ;;; bovine-grammar.el ends here |
diff --git a/etc/grammars/c.by b/etc/grammars/c.by index fe8e0c28838..cf8cb0c638e 100644 --- a/etc/grammars/c.by +++ b/etc/grammars/c.by | |||
| @@ -1,28 +1,25 @@ | |||
| 1 | ;;; semantic/bovine/c.by -- LL grammar for C/C++ language specification | 1 | ;;; c.by -- LL grammar for C/C++ language specification |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Eric M. Ludlam | 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 2002, 2003 David Ponce | ||
| 5 | ;; | 4 | ;; |
| 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 7 | ;; David Ponce <david@dponce.com> | 6 | ;; David Ponce <david@dponce.com> |
| 8 | ;; Klaus Berndl <klaus.berndl@sdm.de> | 7 | ;; Klaus Berndl <klaus.berndl@sdm.de> |
| 9 | ;; | 8 | ;; |
| 10 | ;; | 9 | ;; This file is part of GNU Emacs. |
| 11 | ;; This program is free software; you can redistribute it and/or modify | 10 | |
| 11 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 12 | ;; it under the terms of the GNU General Public License as published by | 12 | ;; it under the terms of the GNU General Public License as published by |
| 13 | ;; the Free Software Foundation; either version 2, or (at your option) | 13 | ;; the Free Software Foundation, either version 3 of the License, or |
| 14 | ;; any later version. | 14 | ;; (at your option) any later version. |
| 15 | ;; | 15 | |
| 16 | ;; This software is distributed in the hope that it will be useful, | 16 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | ;; GNU General Public License for more details. | 19 | ;; GNU General Public License for more details. |
| 20 | ;; | 20 | |
| 21 | ;; You should have received a copy of the GNU General Public License | 21 | ;; You should have received a copy of the GNU General Public License |
| 22 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 22 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 23 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 24 | ;; Boston, MA 02110-1301, USA. | ||
| 25 | ;; | ||
| 26 | 23 | ||
| 27 | ;; TODO: From Nate Schley | 24 | ;; TODO: From Nate Schley |
| 28 | ;; > * Can't parse signature element: "const char* const rmc_ClrTxt" | 25 | ;; > * Can't parse signature element: "const char* const rmc_ClrTxt" |
| @@ -1202,4 +1199,4 @@ unaryexpression | |||
| 1202 | | expr-start expression | 1199 | | expr-start expression |
| 1203 | ; | 1200 | ; |
| 1204 | 1201 | ||
| 1205 | ;;; semantic/bovine/c.by ends here | 1202 | ;;; c.by ends here |
diff --git a/etc/grammars/java-tags.wy b/etc/grammars/java-tags.wy index f24777dc92e..aed39669c53 100644 --- a/etc/grammars/java-tags.wy +++ b/etc/grammars/java-tags.wy | |||
| @@ -1,29 +1,26 @@ | |||
| 1 | ;;; semantic/wisent/java-tags.wy -- Semantic LALR grammar for Java | 1 | ;;; java-tags.wy -- Semantic LALR grammar for Java |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2002, 2007 David Ponce | 3 | ;; Copyright (C) 2002-2011 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 2007 Eric Ludlam | ||
| 5 | ;; | 4 | ;; |
| 6 | ;; Author: David Ponce <david@dponce.com> | 5 | ;; Author: David Ponce <david@dponce.com> |
| 7 | ;; Maintainer: David Ponce <david@dponce.com> | 6 | ;; Maintainer: David Ponce <david@dponce.com> |
| 8 | ;; Created: 25 Feb 2002 | 7 | ;; Created: 26 Aug 2002 |
| 9 | ;; Keywords: syntax | 8 | ;; Keywords: syntax |
| 10 | ;; | 9 | |
| 11 | ;; This file is not part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 12 | ;; | 11 | |
| 13 | ;; This program is free software; you can redistribute it and/or | 12 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 14 | ;; modify it under the terms of the GNU General Public License as | 13 | ;; it under the terms of the GNU General Public License as published by |
| 15 | ;; published by the Free Software Foundation; either version 2, or (at | 14 | ;; the Free Software Foundation, either version 3 of the License, or |
| 16 | ;; your option) any later version. | 15 | ;; (at your option) any later version. |
| 17 | ;; | 16 | |
| 18 | ;; This software is distributed in the hope that it will be useful, | 17 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 19 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | ;; General Public License for more details. | 20 | ;; GNU General Public License for more details. |
| 22 | ;; | 21 | |
| 23 | ;; You should have received a copy of the GNU General Public License | 22 | ;; You should have received a copy of the GNU General Public License |
| 24 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 23 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 25 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 26 | ;; Boston, MA 02110-1301, USA. | ||
| 27 | 24 | ||
| 28 | %package java-tags-wy | 25 | %package java-tags-wy |
| 29 | 26 | ||
| @@ -750,4 +747,4 @@ It ignores whitespaces, newlines and comments." | |||
| 750 | ;;;; | 747 | ;;;; |
| 751 | semantic-lex-default-action) | 748 | semantic-lex-default-action) |
| 752 | 749 | ||
| 753 | ;;; semantic/wisent/java-tags.wy ends here | 750 | ;;; java-tags.wy ends here |
diff --git a/etc/grammars/javascript-jv.wy b/etc/grammars/javascript-jv.wy index 7eb56afb1eb..ba518392ae2 100644 --- a/etc/grammars/javascript-jv.wy +++ b/etc/grammars/javascript-jv.wy | |||
| @@ -1,38 +1,61 @@ | |||
| 1 | ;;; semantic/wisent/javascript-jv.wy -- LALR grammar for Javascript | 1 | ;;; javascript-jv.wy -- LALR grammar for Javascript |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2005 Joakim Verona, Eric Ludlam | 3 | ;; Copyright (C) 2005-2011 Free Software Foundation, Inc. |
| 4 | ;; JAVE Copyright (C) Alex Walker | 4 | ;; Copyright (C) Ecma International. |
| 5 | ;; | 5 | |
| 6 | ;; Author: Joakim Verona | 6 | ;; Author: Joakim Verona |
| 7 | ;; Maintainer: | 7 | |
| 8 | ;; Keywords: syntax | 8 | ;; This file is part of GNU Emacs. |
| 9 | ;; | 9 | |
| 10 | ;; This file is not part of GNU Emacs. | 10 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 11 | ;; | 11 | ;; it under the terms of the GNU General Public License as published by |
| 12 | ;; This program is free software; you can redistribute it and/or | 12 | ;; the Free Software Foundation, either version 3 of the License, or |
| 13 | ;; modify it under the terms of the GNU General Public License as | 13 | ;; (at your option) any later version. |
| 14 | ;; published by the Free Software Foundation; either version 2, or (at | 14 | |
| 15 | ;; your option) any later version. | 15 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 16 | ;; | ||
| 17 | ;; This software is distributed in the hope that it will be useful, | ||
| 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | ;; General Public License for more details. | 18 | ;; GNU General Public License for more details. |
| 21 | ;; | 19 | |
| 22 | ;; You should have received a copy of the GNU General Public License | 20 | ;; You should have received a copy of the GNU General Public License |
| 23 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 24 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 | |
| 25 | ;; Boston, MA 02110-1301, USA. | ||
| 26 | ;; | ||
| 27 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | |||
| 25 | ;; The grammar itself is transcribed from the ECMAScript Language | ||
| 26 | ;; Specification published at | ||
| 28 | ;; | 27 | ;; |
| 29 | ;;JAVE converted from a bison javascript definition at: | 28 | ;; http://www.ecma-international.org/publications/standards/Ecma-262.htm |
| 30 | ;; http://www.soton.net/jssyntaxchecker/FinalReport.pdf | ||
| 31 | ;;by Alex Walker | ||
| 32 | ;;and from wisent-javascrypt.wy by Eric Ludlam | ||
| 33 | ;; | 29 | ;; |
| 34 | ;;...and then further modified by Joakim Verona | 30 | ;; and redistributed under the following license: |
| 35 | ;;and its more of an experiment than anything useful | 31 | |
| 32 | ;; Redistribution and use in source and binary forms, with or without | ||
| 33 | ;; modification, are permitted provided that the following conditions | ||
| 34 | ;; are met: | ||
| 35 | |||
| 36 | ;; 1. Redistributions of source code must retain the above copyright | ||
| 37 | ;; notice, this list of conditions and the following disclaimer. | ||
| 38 | |||
| 39 | ;; 2. Redistributions in binary form must reproduce the above | ||
| 40 | ;; copyright notice, this list of conditions and the following | ||
| 41 | ;; disclaimer in the documentation and/or other materials provided | ||
| 42 | ;; with the distribution. | ||
| 43 | |||
| 44 | ;; 3. Neither the name of the authors nor Ecma International may be | ||
| 45 | ;; used to endorse or promote products derived from this software | ||
| 46 | ;; without specific prior written permission. THIS SOFTWARE IS | ||
| 47 | ;; PROVIDED BY THE ECMA INTERNATIONAL "AS IS" AND ANY EXPRESS OR | ||
| 48 | ;; IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 49 | ;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 50 | ;; ARE DISCLAIMED. IN NO EVENT SHALL ECMA INTERNATIONAL BE LIABLE FOR | ||
| 51 | ;; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 52 | ;; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | ||
| 53 | ;; OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 54 | ;; BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 55 | ;; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 56 | ;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
| 57 | ;; USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
| 58 | ;; DAMAGE. | ||
| 36 | 59 | ||
| 37 | %package javascript-jv-wy | 60 | %package javascript-jv-wy |
| 38 | ;; JAVE I prefere ecmascript-mode | 61 | ;; JAVE I prefere ecmascript-mode |
| @@ -500,4 +523,4 @@ OptionalExpression : Expression | |||
| 500 | semantic-lex-default-action | 523 | semantic-lex-default-action |
| 501 | ) | 524 | ) |
| 502 | 525 | ||
| 503 | ;;; semantic/wisent/javascript-jv.wy ends here | 526 | ;;; javascript-jv.wy ends here |
diff --git a/etc/grammars/make.by b/etc/grammars/make.by index 699019ca5bd..3eb56bf2b49 100644 --- a/etc/grammars/make.by +++ b/etc/grammars/make.by | |||
| @@ -1,24 +1,25 @@ | |||
| 1 | ;;; semantic/bovine/make.by -- BY notation for Makefiles. | 1 | ;;; make.by -- BY notation for Makefiles. |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2008 Eric M. Ludlam | 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | ;; David Ponce <david@dponce.com> | ||
| 7 | ;; Klaus Berndl <klaus.berndl@sdm.de> | ||
| 6 | ;; | 8 | ;; |
| 7 | ;; This program is free software; you can redistribute it and/or modify | 9 | ;; This file is part of GNU Emacs. |
| 10 | |||
| 11 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | ;; it under the terms of the GNU General Public License as published by | 12 | ;; it under the terms of the GNU General Public License as published by |
| 9 | ;; the Free Software Foundation; either version 2, or (at your option) | 13 | ;; the Free Software Foundation, either version 3 of the License, or |
| 10 | ;; any later version. | 14 | ;; (at your option) any later version. |
| 11 | ;; | 15 | |
| 12 | ;; This software is distributed in the hope that it will be useful, | 16 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ;; GNU General Public License for more details. | 19 | ;; GNU General Public License for more details. |
| 16 | ;; | 20 | |
| 17 | ;; You should have received a copy of the GNU General Public License | 21 | ;; You should have received a copy of the GNU General Public License |
| 18 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 22 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 19 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | ;; Boston, MA 02110-1301, USA. | ||
| 21 | ;; | ||
| 22 | 23 | ||
| 23 | %package make-by | 24 | %package make-by |
| 24 | 25 | ||
| @@ -164,4 +165,4 @@ some-whitespace : whitespace some-whitespace (nil) | |||
| 164 | | whitespace (nil) | 165 | | whitespace (nil) |
| 165 | ; | 166 | ; |
| 166 | 167 | ||
| 167 | ;;; semantic/bovine/make.by ends here | 168 | ;;; make.by ends here |
diff --git a/etc/grammars/python.wy b/etc/grammars/python.wy index a8dafd6f955..8a7b7771d53 100644 --- a/etc/grammars/python.wy +++ b/etc/grammars/python.wy | |||
| @@ -1,34 +1,83 @@ | |||
| 1 | ;;; semantic/wisent/python.wy -- LALR grammar for Python | 1 | ;;; python.wy -- LALR grammar for Python |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2002, 2003, 2004, 2007 Richard Kim | 3 | ;; Copyright (C) 2002-2011 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; Copyright (C) 2001-2010 Python Software Foundation |
| 5 | |||
| 5 | ;; Author: Richard Kim <ryk@dspwiz.com> | 6 | ;; Author: Richard Kim <ryk@dspwiz.com> |
| 6 | ;; Maintainer: Richard Kim <ryk@dspwiz.com> | 7 | ;; Maintainer: Richard Kim <ryk@dspwiz.com> |
| 7 | ;; Created: June 2002 | 8 | ;; Created: June 2002 |
| 8 | ;; Keywords: syntax | 9 | ;; Keywords: syntax |
| 9 | ;; | 10 | ;; |
| 10 | ;; This file is not part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 11 | ;; | 12 | |
| 12 | ;; This program is free software; you can redistribute it and/or | 13 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 13 | ;; modify it under the terms of the GNU General Public License as | 14 | ;; it under the terms of the GNU General Public License as published by |
| 14 | ;; published by the Free Software Foundation; either version 2, or (at | 15 | ;; the Free Software Foundation, either version 3 of the License, or |
| 15 | ;; your option) any later version. | 16 | ;; (at your option) any later version. |
| 16 | ;; | 17 | |
| 17 | ;; This software is distributed in the hope that it will be useful, | 18 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 19 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 20 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | ;; General Public License for more details. | 21 | ;; GNU General Public License for more details. |
| 21 | ;; | 22 | |
| 22 | ;; You should have received a copy of the GNU General Public License | 23 | ;; You should have received a copy of the GNU General Public License |
| 23 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 24 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 24 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 25 | ;; Boston, MA 02110-1301, USA. | ||
| 26 | 25 | ||
| 27 | ;;; Commentary: | 26 | ;;; Commentary: |
| 28 | ;; | 27 | ;; |
| 29 | ;; This is an LALR python parser that follows the official python | 28 | ;; This is an LALR python parser that follows the official python |
| 30 | ;; grammar closely with very few exceptions. | 29 | ;; grammar closely with very few exceptions. The Python grammar is |
| 30 | ;; used and reproduced under the following license: | ||
| 31 | ;; | ||
| 32 | ;; PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | ||
| 33 | ;; -------------------------------------------- | ||
| 34 | ;; 1. This LICENSE AGREEMENT is between the Python Software Foundation | ||
| 35 | ;; ("PSF"), and the Individual or Organization ("Licensee") accessing | ||
| 36 | ;; and otherwise using this software ("Python") in source or binary | ||
| 37 | ;; form and its associated documentation. | ||
| 38 | ;; | ||
| 39 | ;; 2. Subject to the terms and conditions of this License Agreement, | ||
| 40 | ;; PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide | ||
| 41 | ;; license to reproduce, analyze, test, perform and/or display | ||
| 42 | ;; publicly, prepare derivative works, distribute, and otherwise use | ||
| 43 | ;; Python alone or in any derivative version, provided, however, that | ||
| 44 | ;; PSF's License Agreement and PSF's notice of copyright, i.e., | ||
| 45 | ;; "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | ||
| 46 | ;; 2009, 2010 Python Software Foundation; All Rights Reserved" are | ||
| 47 | ;; retained in Python alone or in any derivative version prepared by | ||
| 48 | ;; Licensee. | ||
| 49 | ;; | ||
| 50 | ;; 3. In the event Licensee prepares a derivative work that is based | ||
| 51 | ;; on or incorporates Python or any part thereof, and wants to make | ||
| 52 | ;; the derivative work available to others as provided herein, then | ||
| 53 | ;; Licensee hereby agrees to include in any such work a brief summary | ||
| 54 | ;; of the changes made to Python. | ||
| 55 | ;; | ||
| 56 | ;; 4. PSF is making Python available to Licensee on an "AS IS" | ||
| 57 | ;; basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR | ||
| 58 | ;; IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND | ||
| 59 | ;; DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS | ||
| 60 | ;; FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT | ||
| 61 | ;; INFRINGE ANY THIRD PARTY RIGHTS. | ||
| 31 | ;; | 62 | ;; |
| 63 | ;; 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON | ||
| 64 | ;; FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A | ||
| 65 | ;; RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR | ||
| 66 | ;; ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. | ||
| 67 | ;; | ||
| 68 | ;; 6. This License Agreement will automatically terminate upon a | ||
| 69 | ;; material breach of its terms and conditions. | ||
| 70 | ;; | ||
| 71 | ;; 7. Nothing in this License Agreement shall be deemed to create any | ||
| 72 | ;; relationship of agency, partnership, or joint venture between PSF | ||
| 73 | ;; and Licensee. This License Agreement does not grant permission to | ||
| 74 | ;; use PSF trademarks or trade name in a trademark sense to endorse or | ||
| 75 | ;; promote products or services of Licensee, or any third party. | ||
| 76 | ;; | ||
| 77 | ;; 8. By copying, installing or otherwise using Python, Licensee | ||
| 78 | ;; agrees to be bound by the terms and conditions of this License | ||
| 79 | ;; Agreement. | ||
| 80 | |||
| 32 | ;;; To do: | 81 | ;;; To do: |
| 33 | ;; | 82 | ;; |
| 34 | ;; * Verify that semantic-lex-python-number regexp is correct. | 83 | ;; * Verify that semantic-lex-python-number regexp is correct. |
| @@ -1080,4 +1129,4 @@ semicolon_opt | |||
| 1080 | | SEMICOLON | 1129 | | SEMICOLON |
| 1081 | ; | 1130 | ; |
| 1082 | 1131 | ||
| 1083 | ;;; semantic/wisent/python.wy ends here | 1132 | ;;; python.wy ends here |
diff --git a/etc/grammars/scheme.by b/etc/grammars/scheme.by index d15e2b11b19..9e57afe7438 100644 --- a/etc/grammars/scheme.by +++ b/etc/grammars/scheme.by | |||
| @@ -1,23 +1,21 @@ | |||
| 1 | ;;; semantic/bovine/scheme.by -- Scheme BNF language specification | 1 | ;;; scheme.by -- Scheme BNF language specification |
| 2 | ;; | 2 | |
| 3 | ;; Copyright (C) 2001, 2003, 2009 Eric M. Ludlam | 3 | ;; Copyright (C) 2001-2011 Free Software Foundation, Inc. |
| 4 | ;; | 4 | |
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; This file is part of GNU Emacs. |
| 6 | ;; | 6 | |
| 7 | ;; This is free software; you can redistribute it and/or modify | 7 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | ;; it under the terms of the GNU General Public License as published by | 8 | ;; it under the terms of the GNU General Public License as published by |
| 9 | ;; the Free Software Foundation; either version 2, or (at your option) | 9 | ;; the Free Software Foundation, either version 3 of the License, or |
| 10 | ;; any later version. | 10 | ;; (at your option) any later version. |
| 11 | ;; | 11 | |
| 12 | ;; This software is distributed in the hope that it will be useful, | 12 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ;; GNU General Public License for more details. | 15 | ;; GNU General Public License for more details. |
| 16 | ;; | 16 | |
| 17 | ;; You should have received a copy of the GNU General Public License | 17 | ;; You should have received a copy of the GNU General Public License |
| 18 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | 18 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 19 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | ;; Boston, MA 02110-1301, USA. | ||
| 21 | 19 | ||
| 22 | %package scm-by | 20 | %package scm-by |
| 23 | 21 | ||
| @@ -83,4 +81,4 @@ expression : symbol | |||
| 83 | | number | 81 | | number |
| 84 | ; | 82 | ; |
| 85 | 83 | ||
| 86 | ;;; semantic/bovine/scheme.by ends here | 84 | ;;; scheme.by ends here |