diff options
| author | Chong Yidong | 2012-01-09 13:42:57 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-09 13:42:57 +0800 |
| commit | 866b58d61afd2eccfed53d1707bea233bde3c030 (patch) | |
| tree | 860d0ce299d0482248ecec6e618dd967a2904178 /lisp | |
| parent | 9ca4c014c87716b8712f710cbc8bbdf1421a08fc (diff) | |
| download | emacs-866b58d61afd2eccfed53d1707bea233bde3c030.tar.gz emacs-866b58d61afd2eccfed53d1707bea233bde3c030.zip | |
Add CEDET grammar files to emacs-23 branch.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/cedet/semantic/bovine/c-by.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/make-by.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/scm-by.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/grammar-wy.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/javat-wy.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/js-wy.el | 38 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/python-wy.el | 54 | ||||
| -rw-r--r-- | lisp/cedet/srecode/srt-wy.el | 4 |
8 files changed, 95 insertions, 16 deletions
diff --git a/lisp/cedet/semantic/bovine/c-by.el b/lisp/cedet/semantic/bovine/c-by.el index 0308ace619b..36aa480e514 100644 --- a/lisp/cedet/semantic/bovine/c-by.el +++ b/lisp/cedet/semantic/bovine/c-by.el | |||
| @@ -20,8 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | ;;; Commentary: | 21 | ;;; Commentary: |
| 22 | ;; | 22 | ;; |
| 23 | ;; This file was generated from the grammar file semantic/bovine/c.by | 23 | ;; This file was generated from etc/grammars/c.by. |
| 24 | ;; in the CEDET repository. | ||
| 25 | 24 | ||
| 26 | ;;; Code: | 25 | ;;; Code: |
| 27 | 26 | ||
diff --git a/lisp/cedet/semantic/bovine/make-by.el b/lisp/cedet/semantic/bovine/make-by.el index 1db454f6ea8..17dd5613a50 100644 --- a/lisp/cedet/semantic/bovine/make-by.el +++ b/lisp/cedet/semantic/bovine/make-by.el | |||
| @@ -20,8 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | ;;; Commentary: | 21 | ;;; Commentary: |
| 22 | ;; | 22 | ;; |
| 23 | ;; This file was generated from the grammar file | 23 | ;; This file was generated from etc/grammars/make.by. |
| 24 | ;; semantic/bovine/make.by in the CEDET repository. | ||
| 25 | 24 | ||
| 26 | ;;; Code: | 25 | ;;; Code: |
| 27 | 26 | ||
diff --git a/lisp/cedet/semantic/bovine/scm-by.el b/lisp/cedet/semantic/bovine/scm-by.el index ac8211bfc8c..0b27abaf211 100644 --- a/lisp/cedet/semantic/bovine/scm-by.el +++ b/lisp/cedet/semantic/bovine/scm-by.el | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file | 22 | ;; This file was generated from etc/grammars/scm.by. |
| 23 | ;; semantic/bovine/scm.by in the CEDET repository. | ||
| 24 | 23 | ||
| 25 | ;;; Code: | 24 | ;;; Code: |
| 26 | 25 | ||
diff --git a/lisp/cedet/semantic/grammar-wy.el b/lisp/cedet/semantic/grammar-wy.el index 58f7f9900e2..59729863316 100644 --- a/lisp/cedet/semantic/grammar-wy.el +++ b/lisp/cedet/semantic/grammar-wy.el | |||
| @@ -22,8 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | ;; | 24 | ;; |
| 25 | ;; This file is generated from the grammar file semantic-grammar.wy in | 25 | ;; This file was generated from etc/grammars/grammar.wy. |
| 26 | ;; the upstream CEDET repository. | ||
| 27 | 26 | ||
| 28 | ;;; Code: | 27 | ;;; Code: |
| 29 | 28 | ||
diff --git a/lisp/cedet/semantic/wisent/javat-wy.el b/lisp/cedet/semantic/wisent/javat-wy.el index 258b1ac4af7..9057ee9fd45 100644 --- a/lisp/cedet/semantic/wisent/javat-wy.el +++ b/lisp/cedet/semantic/wisent/javat-wy.el | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file | 22 | ;; This file was generated from etc/grammars/java-tags.wy. |
| 23 | ;; semantic/wisent/wisent-java-tags.wy in the CEDET repository. | ||
| 24 | 23 | ||
| 25 | ;;; Code: | 24 | ;;; Code: |
| 26 | 25 | ||
diff --git a/lisp/cedet/semantic/wisent/js-wy.el b/lisp/cedet/semantic/wisent/js-wy.el index 021002059f8..a974a28bcd9 100644 --- a/lisp/cedet/semantic/wisent/js-wy.el +++ b/lisp/cedet/semantic/wisent/js-wy.el | |||
| @@ -19,8 +19,42 @@ | |||
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | ;; | 21 | ;; |
| 22 | ;; This file was generated from the grammar file | 22 | ;; This file was generated from etc/grammars/js.wy. |
| 23 | ;; semantic/wisent/wisent-javascript-jv.wy in the CEDET repository. | 23 | ;; |
| 24 | ;; It is derived from the grammar in the ECMAScript Language | ||
| 25 | ;; Specification published at | ||
| 26 | ;; | ||
| 27 | ;; http://www.ecma-international.org/publications/standards/Ecma-262.htm | ||
| 28 | ;; | ||
| 29 | ;; and redistributed under the following license: | ||
| 30 | ;; | ||
| 31 | ;; Redistribution and use in source and binary forms, with or without | ||
| 32 | ;; modification, are permitted provided that the following conditions | ||
| 33 | ;; are met: | ||
| 34 | ;; | ||
| 35 | ;; 1. Redistributions of source code must retain the above copyright | ||
| 36 | ;; notice, this list of conditions and the following disclaimer. | ||
| 37 | ;; | ||
| 38 | ;; 2. Redistributions in binary form must reproduce the above | ||
| 39 | ;; copyright notice, this list of conditions and the following | ||
| 40 | ;; disclaimer in the documentation and/or other materials provided | ||
| 41 | ;; with the distribution. | ||
| 42 | ;; | ||
| 43 | ;; 3. Neither the name of the authors nor Ecma International may be | ||
| 44 | ;; used to endorse or promote products derived from this software | ||
| 45 | ;; without specific prior written permission. THIS SOFTWARE IS | ||
| 46 | ;; PROVIDED BY THE ECMA INTERNATIONAL "AS IS" AND ANY EXPRESS OR | ||
| 47 | ;; IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 48 | ;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 49 | ;; ARE DISCLAIMED. IN NO EVENT SHALL ECMA INTERNATIONAL BE LIABLE FOR | ||
| 50 | ;; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 51 | ;; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | ||
| 52 | ;; OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 53 | ;; BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 54 | ;; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 55 | ;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
| 56 | ;; USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
| 57 | ;; DAMAGE. | ||
| 24 | 58 | ||
| 25 | ;;; Code: | 59 | ;;; Code: |
| 26 | (require 'semantic/lex) | 60 | (require 'semantic/lex) |
diff --git a/lisp/cedet/semantic/wisent/python-wy.el b/lisp/cedet/semantic/wisent/python-wy.el index 32466a31cec..f4cae7545fc 100644 --- a/lisp/cedet/semantic/wisent/python-wy.el +++ b/lisp/cedet/semantic/wisent/python-wy.el | |||
| @@ -19,9 +19,59 @@ | |||
| 19 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 19 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 20 | 20 | ||
| 21 | ;;; Commentary: | 21 | ;;; Commentary: |
| 22 | |||
| 23 | ;; This file was generated from etc/grammars/python.wy. | ||
| 24 | ;; It is derived in part from the Python grammar, used under the | ||
| 25 | ;; following license: | ||
| 26 | ;; | ||
| 27 | ;; PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | ||
| 28 | ;; -------------------------------------------- | ||
| 29 | ;; 1. This LICENSE AGREEMENT is between the Python Software Foundation | ||
| 30 | ;; ("PSF"), and the Individual or Organization ("Licensee") accessing | ||
| 31 | ;; and otherwise using this software ("Python") in source or binary | ||
| 32 | ;; form and its associated documentation. | ||
| 33 | ;; | ||
| 34 | ;; 2. Subject to the terms and conditions of this License Agreement, | ||
| 35 | ;; PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide | ||
| 36 | ;; license to reproduce, analyze, test, perform and/or display | ||
| 37 | ;; publicly, prepare derivative works, distribute, and otherwise use | ||
| 38 | ;; Python alone or in any derivative version, provided, however, that | ||
| 39 | ;; PSF's License Agreement and PSF's notice of copyright, i.e., | ||
| 40 | ;; "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | ||
| 41 | ;; 2009, 2010 Python Software Foundation; All Rights Reserved" are | ||
| 42 | ;; retained in Python alone or in any derivative version prepared by | ||
| 43 | ;; Licensee. | ||
| 44 | ;; | ||
| 45 | ;; 3. In the event Licensee prepares a derivative work that is based | ||
| 46 | ;; on or incorporates Python or any part thereof, and wants to make | ||
| 47 | ;; the derivative work available to others as provided herein, then | ||
| 48 | ;; Licensee hereby agrees to include in any such work a brief summary | ||
| 49 | ;; of the changes made to Python. | ||
| 50 | ;; | ||
| 51 | ;; 4. PSF is making Python available to Licensee on an "AS IS" | ||
| 52 | ;; basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR | ||
| 53 | ;; IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND | ||
| 54 | ;; DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS | ||
| 55 | ;; FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT | ||
| 56 | ;; INFRINGE ANY THIRD PARTY RIGHTS. | ||
| 57 | ;; | ||
| 58 | ;; 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON | ||
| 59 | ;; FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A | ||
| 60 | ;; RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR | ||
| 61 | ;; ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. | ||
| 62 | ;; | ||
| 63 | ;; 6. This License Agreement will automatically terminate upon a | ||
| 64 | ;; material breach of its terms and conditions. | ||
| 65 | ;; | ||
| 66 | ;; 7. Nothing in this License Agreement shall be deemed to create any | ||
| 67 | ;; relationship of agency, partnership, or joint venture between PSF | ||
| 68 | ;; and Licensee. This License Agreement does not grant permission to | ||
| 69 | ;; use PSF trademarks or trade name in a trademark sense to endorse or | ||
| 70 | ;; promote products or services of Licensee, or any third party. | ||
| 22 | ;; | 71 | ;; |
| 23 | ;; This file was generated from the grammar file | 72 | ;; 8. By copying, installing or otherwise using Python, Licensee |
| 24 | ;; semantic/wisent/wisent-python.wy in the CEDET repository. | 73 | ;; agrees to be bound by the terms and conditions of this License |
| 74 | ;; Agreement. | ||
| 25 | 75 | ||
| 26 | ;;; Code: | 76 | ;;; Code: |
| 27 | 77 | ||
diff --git a/lisp/cedet/srecode/srt-wy.el b/lisp/cedet/srecode/srt-wy.el index 3dde065c2a6..2910483bba3 100644 --- a/lisp/cedet/srecode/srt-wy.el +++ b/lisp/cedet/srecode/srt-wy.el | |||
| @@ -18,8 +18,8 @@ | |||
| 18 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 18 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | ||
| 20 | ;;; Commentary: | 20 | ;;; Commentary: |
| 21 | 21 | ;; | |
| 22 | ;; Generated from srecode-template.wy in the CEDET repository. | 22 | ;; This file was generated from etc/grammars/srecode-template.wy. |
| 23 | 23 | ||
| 24 | ;;; Code: | 24 | ;;; Code: |
| 25 | 25 | ||