diff options
Diffstat (limited to 'lisp/cedet/srecode')
| -rw-r--r-- | lisp/cedet/srecode/srt-wy.el | 33 | ||||
| -rw-r--r-- | lisp/cedet/srecode/texi.el | 2 |
2 files changed, 17 insertions, 18 deletions
diff --git a/lisp/cedet/srecode/srt-wy.el b/lisp/cedet/srecode/srt-wy.el index 2fb8e7665e9..5bd202093e9 100644 --- a/lisp/cedet/srecode/srt-wy.el +++ b/lisp/cedet/srecode/srt-wy.el | |||
| @@ -18,13 +18,12 @@ | |||
| 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 admin/grammars/srecode-template.wy. |
| 23 | 23 | ||
| 24 | ;;; Code: | 24 | ;;; Code: |
| 25 | 25 | ||
| 26 | (require 'semantic/lex) | 26 | (require 'semantic/lex) |
| 27 | |||
| 28 | 27 | ||
| 29 | ;;; Prologue | 28 | ;;; Prologue |
| 30 | ;; | 29 | ;; |
| @@ -206,10 +205,12 @@ | |||
| 206 | 205 | ||
| 207 | 206 | ||
| 208 | ;;; Analyzers | 207 | ;;; Analyzers |
| 209 | ;; | 208 | |
| 210 | (define-lex-keyword-type-analyzer srecode-template-wy--<keyword>-keyword-analyzer | 209 | (define-lex-string-type-analyzer srecode-template-wy--<punctuation>-string-analyzer |
| 211 | "keyword analyzer for <keyword> tokens." | 210 | "string analyzer for <punctuation> tokens." |
| 212 | "\\(\\sw\\|\\s_\\)+") | 211 | "\\s.+" |
| 212 | nil | ||
| 213 | 'punctuation) | ||
| 213 | 214 | ||
| 214 | (define-lex-regex-type-analyzer srecode-template-wy--<symbol>-regexp-analyzer | 215 | (define-lex-regex-type-analyzer srecode-template-wy--<symbol>-regexp-analyzer |
| 215 | "regexp analyzer for <symbol> tokens." | 216 | "regexp analyzer for <symbol> tokens." |
| @@ -217,22 +218,20 @@ | |||
| 217 | nil | 218 | nil |
| 218 | 'symbol) | 219 | 'symbol) |
| 219 | 220 | ||
| 220 | (define-lex-sexp-type-analyzer srecode-template-wy--<string>-sexp-analyzer | ||
| 221 | "sexp analyzer for <string> tokens." | ||
| 222 | "\\s\"" | ||
| 223 | 'string) | ||
| 224 | |||
| 225 | (define-lex-regex-type-analyzer srecode-template-wy--<number>-regexp-analyzer | 221 | (define-lex-regex-type-analyzer srecode-template-wy--<number>-regexp-analyzer |
| 226 | "regexp analyzer for <number> tokens." | 222 | "regexp analyzer for <number> tokens." |
| 227 | semantic-lex-number-expression | 223 | semantic-lex-number-expression |
| 228 | nil | 224 | nil |
| 229 | 'number) | 225 | 'number) |
| 230 | 226 | ||
| 231 | (define-lex-string-type-analyzer srecode-template-wy--<punctuation>-string-analyzer | 227 | (define-lex-sexp-type-analyzer srecode-template-wy--<string>-sexp-analyzer |
| 232 | "string analyzer for <punctuation> tokens." | 228 | "sexp analyzer for <string> tokens." |
| 233 | "\\s.+" | 229 | "\\s\"" |
| 234 | nil | 230 | 'string) |
| 235 | 'punctuation) | 231 | |
| 232 | (define-lex-keyword-type-analyzer srecode-template-wy--<keyword>-keyword-analyzer | ||
| 233 | "keyword analyzer for <keyword> tokens." | ||
| 234 | "\\(\\sw\\|\\s_\\)+") | ||
| 236 | 235 | ||
| 237 | 236 | ||
| 238 | ;;; Epilogue | 237 | ;;; Epilogue |
diff --git a/lisp/cedet/srecode/texi.el b/lisp/cedet/srecode/texi.el index acfc2486711..df90f6c464f 100644 --- a/lisp/cedet/srecode/texi.el +++ b/lisp/cedet/srecode/texi.el | |||
| @@ -244,7 +244,7 @@ that class. | |||
| 244 | `function' => @dfn{function} | 244 | `function' => @dfn{function} |
| 245 | `variable' => @code{variable} | 245 | `variable' => @code{variable} |
| 246 | `class' => @code{class} @xref{class} | 246 | `class' => @code{class} @xref{class} |
| 247 | `unknown' => @code{unknonwn} | 247 | `unknown' => @code{unknown} |
| 248 | \"text\" => ``text'' | 248 | \"text\" => ``text'' |
| 249 | 'quoteme => @code{quoteme} | 249 | 'quoteme => @code{quoteme} |
| 250 | non-nil => non-@code{nil} | 250 | non-nil => non-@code{nil} |