aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet
diff options
context:
space:
mode:
authorPaul Eggert2011-12-10 16:56:50 -0800
committerPaul Eggert2011-12-10 16:56:50 -0800
commit8f50130c565eaf0ad7c49e4ad044c3291ecdfa71 (patch)
treec8129448cbbf387fe82667ccac02983592c688f1 /lisp/cedet
parent85a83e2e2585a1906dec5168ed96ad521b5849ed (diff)
parent7b9d523a07395ecea505be88f45c33d73aea7038 (diff)
downloademacs-8f50130c565eaf0ad7c49e4ad044c3291ecdfa71.tar.gz
emacs-8f50130c565eaf0ad7c49e4ad044c3291ecdfa71.zip
Merge from trunk.
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/ChangeLog40
-rw-r--r--lisp/cedet/cedet-cscope.el4
-rw-r--r--lisp/cedet/cedet-files.el2
-rw-r--r--lisp/cedet/cedet-global.el6
-rw-r--r--lisp/cedet/cedet-idutils.el8
-rw-r--r--lisp/cedet/cedet.el4
-rw-r--r--lisp/cedet/data-debug.el4
-rw-r--r--lisp/cedet/ede.el20
-rw-r--r--lisp/cedet/ede/autoconf-edit.el2
-rw-r--r--lisp/cedet/ede/files.el2
-rw-r--r--lisp/cedet/ede/generic.el4
-rw-r--r--lisp/cedet/ede/pconf.el2
-rw-r--r--lisp/cedet/ede/proj-comp.el4
-rw-r--r--lisp/cedet/ede/proj-shared.el4
-rw-r--r--lisp/cedet/ede/proj.el4
-rw-r--r--lisp/cedet/ede/project-am.el2
-rw-r--r--lisp/cedet/inversion.el10
-rw-r--r--lisp/cedet/mode-local.el10
-rw-r--r--lisp/cedet/pulse.el6
-rw-r--r--lisp/cedet/semantic.el14
-rw-r--r--lisp/cedet/semantic/analyze.el6
-rw-r--r--lisp/cedet/semantic/analyze/fcn.el2
-rw-r--r--lisp/cedet/semantic/bovine/c-by.el2
-rw-r--r--lisp/cedet/semantic/bovine/c.el14
-rw-r--r--lisp/cedet/semantic/bovine/debug.el2
-rw-r--r--lisp/cedet/semantic/bovine/el.el2
-rw-r--r--lisp/cedet/semantic/complete.el6
-rw-r--r--lisp/cedet/semantic/db-find.el14
-rw-r--r--lisp/cedet/semantic/db-javascript.el4
-rw-r--r--lisp/cedet/semantic/db-typecache.el2
-rw-r--r--lisp/cedet/semantic/db.el2
-rw-r--r--lisp/cedet/semantic/debug.el10
-rw-r--r--lisp/cedet/semantic/edit.el10
-rw-r--r--lisp/cedet/semantic/fw.el2
-rw-r--r--lisp/cedet/semantic/grammar-wy.el505
-rw-r--r--lisp/cedet/semantic/grammar.el6
-rw-r--r--lisp/cedet/semantic/html.el2
-rw-r--r--lisp/cedet/semantic/ia-sb.el2
-rw-r--r--lisp/cedet/semantic/idle.el8
-rw-r--r--lisp/cedet/semantic/imenu.el2
-rw-r--r--lisp/cedet/semantic/lex-spp.el6
-rw-r--r--lisp/cedet/semantic/lex.el12
-rw-r--r--lisp/cedet/semantic/sb.el2
-rw-r--r--lisp/cedet/semantic/scope.el2
-rw-r--r--lisp/cedet/semantic/senator.el4
-rw-r--r--lisp/cedet/semantic/sort.el2
-rw-r--r--lisp/cedet/semantic/symref.el2
-rw-r--r--lisp/cedet/semantic/symref/list.el6
-rw-r--r--lisp/cedet/semantic/tag-file.el2
-rw-r--r--lisp/cedet/semantic/tag-ls.el2
-rw-r--r--lisp/cedet/semantic/tag.el4
-rw-r--r--lisp/cedet/semantic/texi.el4
-rw-r--r--lisp/cedet/semantic/wisent/javat-wy.el51
-rw-r--r--lisp/cedet/semantic/wisent/js-wy.el106
-rw-r--r--lisp/cedet/semantic/wisent/python-wy.el87
-rw-r--r--lisp/cedet/semantic/wisent/python.el2
-rw-r--r--lisp/cedet/srecode/args.el3
-rw-r--r--lisp/cedet/srecode/ctxt.el2
-rw-r--r--lisp/cedet/srecode/dictionary.el2
-rw-r--r--lisp/cedet/srecode/document.el4
-rw-r--r--lisp/cedet/srecode/fields.el2
-rw-r--r--lisp/cedet/srecode/find.el2
-rw-r--r--lisp/cedet/srecode/insert.el4
-rw-r--r--lisp/cedet/srecode/srt-wy.el33
-rw-r--r--lisp/cedet/srecode/texi.el2
65 files changed, 613 insertions, 490 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog
index e5969a3c291..ccc81e6613e 100644
--- a/lisp/cedet/ChangeLog
+++ b/lisp/cedet/ChangeLog
@@ -1,3 +1,43 @@
12011-12-06 Juanma Barranquero <lekktu@gmail.com>
2
3 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
4
52011-11-26 Chong Yidong <cyd@gnu.org>
6
7 * semantic/wisent/python-wy.el:
8 * semantic/wisent/js-wy.el:
9 * semantic/wisent/javat-wy.el:
10 * semantic/bovine/c-by.el:
11 * semantic/grammar-wy.el: Regenerate.
12
132011-11-24 Juanma Barranquero <lekktu@gmail.com>
14
15 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
16
172011-11-20 Juanma Barranquero <lekktu@gmail.com>
18
19 * cedet-cscope.el (cedet-cscope-version-check):
20 * cedet-global.el (cedet-global-min-version)
21 (cedet-gnu-global-version-check):
22 * cedet.el (cedet-version):
23 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
24 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
25 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
26 (ede-add-project-to-global-list, ede-map-all-subprojects):
27 * inversion.el (inversion-check-version):
28 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
29 (define-overloadable-function):
30 * pulse.el (pulse-flag, pulse):
31 * semantic.el (semantic-elapsed-time, semantic-parse-region)
32 (navigate-menu):
33 * ede/proj-comp.el (ede-compilation-program):
34 * semantic/debug.el (semantic-debug-parser-go)
35 (semantic-debug-parser-fail, semantic-debug-parser-quit)
36 (semantic-debug-parser-abort):
37 * semantic/idle.el (semantic-idle-core-handler):
38 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
39 Fix typos.
40
12011-11-16 Juanma Barranquero <lekktu@gmail.com> 412011-11-16 Juanma Barranquero <lekktu@gmail.com>
2 42
3 * semantic/lex.el (semantic-lex-tokens): 43 * semantic/lex.el (semantic-lex-tokens):
diff --git a/lisp/cedet/cedet-cscope.el b/lisp/cedet/cedet-cscope.el
index 74892533ab6..71942698c5f 100644
--- a/lisp/cedet/cedet-cscope.el
+++ b/lisp/cedet/cedet-cscope.el
@@ -135,8 +135,8 @@ the error code."
135 135
136(defun cedet-cscope-version-check (&optional noerror) 136(defun cedet-cscope-version-check (&optional noerror)
137 "Check the version of the installed CScope command. 137 "Check the version of the installed CScope command.
138If optional programatic argument NOERROR is non-nil, then 138If optional programmatic argument NOERROR is non-nil,
139instead of throwing an error if CScope isn't available, then 139then instead of throwing an error if CScope isn't available,
140return nil." 140return nil."
141 (interactive) 141 (interactive)
142 (require 'inversion) 142 (require 'inversion)
diff --git a/lisp/cedet/cedet-files.el b/lisp/cedet/cedet-files.el
index ae037028bf7..6f40ee7030f 100644
--- a/lisp/cedet/cedet-files.el
+++ b/lisp/cedet/cedet-files.el
@@ -83,7 +83,7 @@ specific conversions during tests."
83 (setq file (concat driveletter ":" 83 (setq file (concat driveletter ":"
84 (substring file (match-end 1)))))) 84 (substring file (match-end 1))))))
85 85
86 ;; Handle the \\file\name nomenclature on some windows boxes. 86 ;; Handle the \\file\name nomenclature on some Windows boxes.
87 (when (string-match "^!" file) 87 (when (string-match "^!" file)
88 (setq file (concat "//" (substring file 1))))) 88 (setq file (concat "//" (substring file 1)))))
89 file)) 89 file))
diff --git a/lisp/cedet/cedet-global.el b/lisp/cedet/cedet-global.el
index d2a9794ec81..aa18c0d2f42 100644
--- a/lisp/cedet/cedet-global.el
+++ b/lisp/cedet/cedet-global.el
@@ -27,7 +27,7 @@
27(declare-function inversion-check-version "inversion") 27(declare-function inversion-check-version "inversion")
28 28
29(defvar cedet-global-min-version "5.0" 29(defvar cedet-global-min-version "5.0"
30 "Minimum version of GNU global required.") 30 "Minimum version of GNU Global required.")
31 31
32(defcustom cedet-global-command "global" 32(defcustom cedet-global-command "global"
33 "Command name for the GNU Global executable." 33 "Command name for the GNU Global executable."
@@ -131,8 +131,8 @@ If a default starting DIR is not specified, the current buffer's
131 131
132(defun cedet-gnu-global-version-check (&optional noerror) 132(defun cedet-gnu-global-version-check (&optional noerror)
133 "Check the version of the installed GNU Global command. 133 "Check the version of the installed GNU Global command.
134If optional programatic argument NOERROR is non-nil, then 134If optional programmatic argument NOERROR is non-nil,
135instead of throwing an error if Global isn't available, then 135then instead of throwing an error if Global isn't available,
136return nil." 136return nil."
137 (interactive) 137 (interactive)
138 (require 'inversion) 138 (require 'inversion)
diff --git a/lisp/cedet/cedet-idutils.el b/lisp/cedet/cedet-idutils.el
index e071265c143..ee8e432ddd9 100644
--- a/lisp/cedet/cedet-idutils.el
+++ b/lisp/cedet/cedet-idutils.el
@@ -84,7 +84,7 @@ Note: Scope is not yet supported."
84 84
85(defun cedet-idutils-fnid-call (flags) 85(defun cedet-idutils-fnid-call (flags)
86 "Call ID Utils fnid with the list of FLAGS. 86 "Call ID Utils fnid with the list of FLAGS.
87Return the created buffer with with program output." 87Return the created buffer with program output."
88 (let ((b (get-buffer-create "*CEDET fnid*")) 88 (let ((b (get-buffer-create "*CEDET fnid*"))
89 (cd default-directory) 89 (cd default-directory)
90 ) 90 )
@@ -112,7 +112,7 @@ Return the created buffer with with program output."
112 112
113(defun cedet-idutils-mkid-call (flags) 113(defun cedet-idutils-mkid-call (flags)
114 "Call ID Utils mkid with the list of FLAGS. 114 "Call ID Utils mkid with the list of FLAGS.
115Return the created buffer with with program output." 115Return the created buffer with program output."
116 (let ((b (get-buffer-create "*CEDET mkid*")) 116 (let ((b (get-buffer-create "*CEDET mkid*"))
117 (cd default-directory) 117 (cd default-directory)
118 ) 118 )
@@ -163,8 +163,8 @@ the error code."
163 163
164(defun cedet-idutils-version-check (&optional noerror) 164(defun cedet-idutils-version-check (&optional noerror)
165 "Check the version of the installed ID Utils command. 165 "Check the version of the installed ID Utils command.
166If optional programatic argument NOERROR is non-nil, then 166If optional programmatic argument NOERROR is non-nil,
167instead of throwing an error if Global isn't available, then 167then instead of throwing an error if Global isn't available,
168return nil." 168return nil."
169 (interactive) 169 (interactive)
170 (require 'inversion) 170 (require 'inversion)
diff --git a/lisp/cedet/cedet.el b/lisp/cedet/cedet.el
index d7645bc97ed..9ccf74de27a 100644
--- a/lisp/cedet/cedet.el
+++ b/lisp/cedet/cedet.el
@@ -75,7 +75,7 @@
75This is used by `semantic-mode' and `global-ede-mode'.") 75This is used by `semantic-mode' and `global-ede-mode'.")
76 76
77(defun cedet-version () 77(defun cedet-version ()
78 "Display all active versions of CEDET and Dependent packages. 78 "Display all active versions of CEDET and dependent packages.
79 79
80The PACKAGE column is the name of a given package from CEDET. 80The PACKAGE column is the name of a given package from CEDET.
81 81
@@ -85,7 +85,7 @@ See `cedet-packages' for details.
85FILE VERSION is the version number found in the source file 85FILE VERSION is the version number found in the source file
86for the specified PACKAGE. 86for the specified PACKAGE.
87 87
88LOADED VERSION is the version of PACKAGE current loaded in Emacs 88LOADED VERSION is the version of PACKAGE currently loaded in Emacs
89memory and (presumably) running in this Emacs instance. Value is X 89memory and (presumably) running in this Emacs instance. Value is X
90if the package has not been loaded." 90if the package has not been loaded."
91 (interactive) 91 (interactive)
diff --git a/lisp/cedet/data-debug.el b/lisp/cedet/data-debug.el
index e50e9993af0..329d1c608c2 100644
--- a/lisp/cedet/data-debug.el
+++ b/lisp/cedet/data-debug.el
@@ -916,7 +916,7 @@ If PARENT is non-nil, it is somehow related as a parent to thing."
916 (skip-chars-forward " *-><[]" (point-at-eol))) 916 (skip-chars-forward " *-><[]" (point-at-eol)))
917 917
918(defun data-debug-prev () 918(defun data-debug-prev ()
919 "Go to the next line in the Ddebug buffer." 919 "Go to the previous line in the Ddebug buffer."
920 (interactive) 920 (interactive)
921 (forward-line -1) 921 (forward-line -1)
922 (beginning-of-line) 922 (beginning-of-line)
@@ -972,7 +972,7 @@ Do nothing if already expanded."
972 972
973(defun data-debug-contract-current-line () 973(defun data-debug-contract-current-line ()
974 "Contract the current line (if possible). 974 "Contract the current line (if possible).
975Do nothing if already expanded." 975Do nothing if already contracted."
976 (when (and (data-debug-current-line-expanded-p) 976 (when (and (data-debug-current-line-expanded-p)
977 ;; Don't contract if the current line is not expandable. 977 ;; Don't contract if the current line is not expandable.
978 (get-text-property (point) 'ddebug-function)) 978 (get-text-property (point) 'ddebug-function))
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el
index 987351a25e0..741e1ffbe5f 100644
--- a/lisp/cedet/ede.el
+++ b/lisp/cedet/ede.el
@@ -214,7 +214,7 @@ Argument LIST-O-O is the list of objects to choose from."
214 (and obj (obj-of-class-p obj ede-target)))) 214 (and obj (obj-of-class-p obj ede-target))))
215 215
216(defun ede-buffer-belongs-to-project-p () 216(defun ede-buffer-belongs-to-project-p ()
217 "Return non-nil if this buffer belongs to at least one target." 217 "Return non-nil if this buffer belongs to at least one project."
218 (if (or (null ede-object) (consp ede-object)) nil 218 (if (or (null ede-object) (consp ede-object)) nil
219 (obj-of-class-p ede-object ede-project))) 219 (obj-of-class-p ede-object ede-project)))
220 220
@@ -243,7 +243,7 @@ Argument MENU-DEF is the menu definition to use."
243 ede-obj (if (listp ede-object) ede-object (list ede-object))) 243 ede-obj (if (listp ede-object) ede-object (list ede-object)))
244 ;; First, collect the build items from the project 244 ;; First, collect the build items from the project
245 (setq newmenu (append newmenu (ede-menu-items-build obj t))) 245 (setq newmenu (append newmenu (ede-menu-items-build obj t)))
246 ;; Second, Declare the current target menu items 246 ;; Second, declare the current target menu items
247 (if (and ede-obj (ede-menu-obj-of-class-p ede-target)) 247 (if (and ede-obj (ede-menu-obj-of-class-p ede-target))
248 (while ede-obj 248 (while ede-obj
249 (setq newmenu (append newmenu 249 (setq newmenu (append newmenu
@@ -264,7 +264,7 @@ Argument MENU-DEF is the menu definition to use."
264 (setq targets (cdr targets))) 264 (setq targets (cdr targets)))
265 ;; Fourth, build sub projects. 265 ;; Fourth, build sub projects.
266 ;; -- nerp 266 ;; -- nerp
267 ;; Fifth, Add make distribution 267 ;; Fifth, add make distribution
268 (append newmenu (list [ "Make distribution" ede-make-dist t ])) 268 (append newmenu (list [ "Make distribution" ede-make-dist t ]))
269 ))))) 269 )))))
270 270
@@ -512,7 +512,7 @@ an EDE controlled project."
512 "Look for a target that wants to own the current file. 512 "Look for a target that wants to own the current file.
513Follow the preference set with `ede-auto-add-method' and get the list 513Follow the preference set with `ede-auto-add-method' and get the list
514of objects with the `ede-want-file-p' method." 514of objects with the `ede-want-file-p' method."
515 (if ede-object (error "Ede-object already defined for %s" (buffer-name))) 515 (if ede-object (error "ede-object already defined for %s" (buffer-name)))
516 (if (or (eq ede-auto-add-method 'never) 516 (if (or (eq ede-auto-add-method 'never)
517 (ede-ignore-file (buffer-file-name))) 517 (ede-ignore-file (buffer-file-name)))
518 nil 518 nil
@@ -566,7 +566,7 @@ Argument FILE is the file or directory to load a project from."
566 (ede-load-project-file (file-name-directory file)))) 566 (ede-load-project-file (file-name-directory file))))
567 567
568(defun ede-new (type &optional name) 568(defun ede-new (type &optional name)
569 "Create a new project starting of project type TYPE. 569 "Create a new project starting from project type TYPE.
570Optional argument NAME is the name to give this project." 570Optional argument NAME is the name to give this project."
571 (interactive 571 (interactive
572 (list (completing-read "Project Type: " 572 (list (completing-read "Project Type: "
@@ -642,7 +642,7 @@ Optional argument NAME is the name to give this project."
642 642
643(defun ede-invoke-method (sym &rest args) 643(defun ede-invoke-method (sym &rest args)
644 "Invoke method SYM on the current buffer's project object. 644 "Invoke method SYM on the current buffer's project object.
645ARGS are additional arguments to pass to method sym." 645ARGS are additional arguments to pass to method SYM."
646 (if (not ede-object) 646 (if (not ede-object)
647 (error "Cannot invoke %s for %s" (symbol-name sym) 647 (error "Cannot invoke %s for %s" (symbol-name sym)
648 (buffer-name))) 648 (buffer-name)))
@@ -815,7 +815,7 @@ Argument FNND is an argument."
815 (error "remove-file not supported by %s" (object-name ot))) 815 (error "remove-file not supported by %s" (object-name ot)))
816 816
817(defmethod project-edit-file-target ((ot ede-target)) 817(defmethod project-edit-file-target ((ot ede-target))
818 "Edit the target OT associated w/ this file." 818 "Edit the target OT associated with this file."
819 (find-file (oref (ede-current-project) file))) 819 (find-file (oref (ede-current-project) file)))
820 820
821(defmethod project-new-target ((proj ede-project) &rest args) 821(defmethod project-new-target ((proj ede-project) &rest args)
@@ -857,7 +857,7 @@ Argument COMMAND is the command to use for compiling the target."
857 (error "Dist-files is not supported by %s" (object-name this))) 857 (error "Dist-files is not supported by %s" (object-name this)))
858 858
859(defmethod project-rescan ((this ede-project)) 859(defmethod project-rescan ((this ede-project))
860 "Rescan the EDE proj project THIS." 860 "Rescan the EDE project THIS."
861 (error "Rescanning a project is not supported by %s" (object-name this))) 861 (error "Rescanning a project is not supported by %s" (object-name this)))
862 862
863(defun ede-ecb-project-paths () 863(defun ede-ecb-project-paths ()
@@ -879,7 +879,7 @@ On success, return the added project."
879 (when (not proj) 879 (when (not proj)
880 (error "No project created to add to master list")) 880 (error "No project created to add to master list"))
881 (when (not (eieio-object-p proj)) 881 (when (not (eieio-object-p proj))
882 (error "Attempt to add Non-object to master project list")) 882 (error "Attempt to add non-object to master project list"))
883 (when (not (obj-of-class-p proj ede-project-placeholder)) 883 (when (not (obj-of-class-p proj ede-project-placeholder))
884 (error "Attempt to add a non-project to the ede projects list")) 884 (error "Attempt to add a non-project to the ede projects list"))
885 (add-to-list 'ede-projects proj) 885 (add-to-list 'ede-projects proj)
@@ -1157,7 +1157,7 @@ See also `ede-map-all-subprojects'."
1157 (mapcar proc (oref this subproj))) 1157 (mapcar proc (oref this subproj)))
1158 1158
1159(defmethod ede-map-all-subprojects ((this ede-project) allproc) 1159(defmethod ede-map-all-subprojects ((this ede-project) allproc)
1160 "For object THIS, execute PROC on THIS and all subprojects. 1160 "For object THIS, execute PROC on THIS and all subprojects.
1161This function also applies PROC to sub-sub projects. 1161This function also applies PROC to sub-sub projects.
1162See also `ede-map-subprojects'." 1162See also `ede-map-subprojects'."
1163 (apply 'append 1163 (apply 'append
diff --git a/lisp/cedet/ede/autoconf-edit.el b/lisp/cedet/ede/autoconf-edit.el
index bd4a5a627a9..c6545dd9015 100644
--- a/lisp/cedet/ede/autoconf-edit.el
+++ b/lisp/cedet/ede/autoconf-edit.el
@@ -191,7 +191,7 @@ This is to make it compatible with `autoconf-find-last-macro'.
191Assume that MACRO doesn't appear in the buffer yet, so search 191Assume that MACRO doesn't appear in the buffer yet, so search
192the ordering list `autoconf-preferred-macro-order'." 192the ordering list `autoconf-preferred-macro-order'."
193 ;; Search this list backwards.. heh heh heh 193 ;; Search this list backwards.. heh heh heh
194 ;; This lets us do a reverse search easilly. 194 ;; This lets us do a reverse search easily.
195 (let ((ml (member macro (reverse autoconf-preferred-macro-order)))) 195 (let ((ml (member macro (reverse autoconf-preferred-macro-order))))
196 (if (not ml) (error "Don't know how to position for %s yet" macro)) 196 (if (not ml) (error "Don't know how to position for %s yet" macro))
197 (setq ml (cdr ml)) 197 (setq ml (cdr ml))
diff --git a/lisp/cedet/ede/files.el b/lisp/cedet/ede/files.el
index 6179d304464..f17dfd85fdf 100644
--- a/lisp/cedet/ede/files.el
+++ b/lisp/cedet/ede/files.el
@@ -249,7 +249,7 @@ Do this whenever a new project is created, as opposed to loaded."
249 "Return a project description object if DIR has a project. 249 "Return a project description object if DIR has a project.
250Optional argument FORCE means to ignore a hash-hit of 'nomatch. 250Optional argument FORCE means to ignore a hash-hit of 'nomatch.
251This depends on an up to date `ede-project-class-files' variable. 251This depends on an up to date `ede-project-class-files' variable.
252Any directory that contains the file .ede-ignore will allways 252Any directory that contains the file .ede-ignore will always
253return nil." 253return nil."
254 (when (not (file-exists-p (expand-file-name ".ede-ignore" dir))) 254 (when (not (file-exists-p (expand-file-name ".ede-ignore" dir)))
255 (let* ((dirtest (expand-file-name dir)) 255 (let* ((dirtest (expand-file-name dir))
diff --git a/lisp/cedet/ede/generic.el b/lisp/cedet/ede/generic.el
index 7efe534a640..69570771546 100644
--- a/lisp/cedet/ede/generic.el
+++ b/lisp/cedet/ede/generic.el
@@ -43,7 +43,7 @@
43;; 43;;
44;; Customization: 44;; Customization:
45;; 45;;
46;; Since these projects are all so increadibly generic, a user will 46;; Since these projects are all so incredibly generic, a user will
47;; need to configure some aspects of the project by hand. In order to 47;; need to configure some aspects of the project by hand. In order to
48;; enable this without configuring the project objects directly (which 48;; enable this without configuring the project objects directly (which
49;; are auto-generated) a special ede-generic-config object is defined to 49;; are auto-generated) a special ede-generic-config object is defined to
@@ -359,7 +359,7 @@ the new configuration."
359(defun ede-generic-new-autoloader (internal-name external-name 359(defun ede-generic-new-autoloader (internal-name external-name
360 projectfile class) 360 projectfile class)
361 "Add a new EDE Autoload instance for identifying a generic project. 361 "Add a new EDE Autoload instance for identifying a generic project.
362INTERNAL-NAME is a long name that identifies thsi project type. 362INTERNAL-NAME is a long name that identifies this project type.
363EXTERNAL-NAME is a shorter human readable name to describe the project. 363EXTERNAL-NAME is a shorter human readable name to describe the project.
364PROJECTFILE is a file name that identifies a project of this type to EDE, such as 364PROJECTFILE is a file name that identifies a project of this type to EDE, such as
365a Makefile, or SConstruct file. 365a Makefile, or SConstruct file.
diff --git a/lisp/cedet/ede/pconf.el b/lisp/cedet/ede/pconf.el
index 05290158189..ae503e836d8 100644
--- a/lisp/cedet/ede/pconf.el
+++ b/lisp/cedet/ede/pconf.el
@@ -82,7 +82,7 @@ don't do it. A value of nil means to just do it.")
82 (directory-file-name 82 (directory-file-name
83 (ede-subproject-relative-path sp top-level-project-local))))) 83 (ede-subproject-relative-path sp top-level-project-local)))))
84 (when (string= dir "./") (setq dir "")) 84 (when (string= dir "./") (setq dir ""))
85 ;; Use concat, because expand-file-name removes the relativeness. 85 ;; Use concat, because expand-file-name removes the relativity.
86 (concat dir "Makefile") ))))) 86 (concat dir "Makefile") )))))
87 ;; 87 ;;
88 ;; NOTE TO SELF. TURN THIS INTO THE OFFICIAL LIST 88 ;; NOTE TO SELF. TURN THIS INTO THE OFFICIAL LIST
diff --git a/lisp/cedet/ede/proj-comp.el b/lisp/cedet/ede/proj-comp.el
index ae5796e042b..84bf8ebf1a0 100644
--- a/lisp/cedet/ede/proj-comp.el
+++ b/lisp/cedet/ede/proj-comp.el
@@ -97,8 +97,8 @@ use the same autoconf form.")
97 (objectextention :initarg :objectextention 97 (objectextention :initarg :objectextention
98 :type string 98 :type string
99 :documentation 99 :documentation
100 "A string which is the extention used for object files. 100 "A string which is the extension used for object files.
101For example, C code uses .o on unix, and Emacs Lisp uses .elc.") 101For example, C code uses .o on Unix, and Emacs Lisp uses .elc.")
102 ) 102 )
103 "A program used to compile or link a program via a Makefile. 103 "A program used to compile or link a program via a Makefile.
104Contains everything needed to output code into a Makefile, or autoconf 104Contains everything needed to output code into a Makefile, or autoconf
diff --git a/lisp/cedet/ede/proj-shared.el b/lisp/cedet/ede/proj-shared.el
index ec514194e33..4e233f56a12 100644
--- a/lisp/cedet/ede/proj-shared.el
+++ b/lisp/cedet/ede/proj-shared.el
@@ -61,7 +61,7 @@ Use ldlibs to add addition libraries.")
61; "$(CC_SHARED) -shared $(CFLAGS) $(LDFLAGS) -L. -o $@ $^") 61; "$(CC_SHARED) -shared $(CFLAGS) $(LDFLAGS) -L. -o $@ $^")
62; ) 62; )
63; :commands '("$(C_SHARED_LINK) %s") 63; :commands '("$(C_SHARED_LINK) %s")
64 ;; @TODO - addative modification of autoconf. 64 ;; @TODO - additive modification of autoconf.
65 :autoconf '("AC_PROG_LIBTOOL") 65 :autoconf '("AC_PROG_LIBTOOL")
66 ) 66 )
67 "Compiler for C sourcecode.") 67 "Compiler for C sourcecode.")
@@ -108,7 +108,7 @@ Use ldlibs to add addition libraries.")
108 :variables '(("CXX_SHARED" . "g++") 108 :variables '(("CXX_SHARED" . "g++")
109 ("CXX_SHARED_COMPILE" . 109 ("CXX_SHARED_COMPILE" .
110 "$(CXX_SHARED) -shared $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)")) 110 "$(CXX_SHARED) -shared $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)"))
111 ;; @TODO - addative modification of autoconf. 111 ;; @TODO - additive modification of autoconf.
112 :autoconf '("AC_PROG_LIBTOOL") 112 :autoconf '("AC_PROG_LIBTOOL")
113 ) 113 )
114 "Compiler for C sourcecode.") 114 "Compiler for C sourcecode.")
diff --git a/lisp/cedet/ede/proj.el b/lisp/cedet/ede/proj.el
index 79022be6a5f..a77bb02218b 100644
--- a/lisp/cedet/ede/proj.el
+++ b/lisp/cedet/ede/proj.el
@@ -546,7 +546,7 @@ You may need to add support for this type of file."
546 (file-name-extension (car sources)) 546 (file-name-extension (car sources))
547 ""))) 547 "")))
548 )) 548 ))
549 ;; Return the disovered compilers 549 ;; Return the discovered compilers.
550 comp))) 550 comp)))
551 551
552(defmethod ede-proj-linkers ((obj ede-proj-target)) 552(defmethod ede-proj-linkers ((obj ede-proj-target))
@@ -580,7 +580,7 @@ Converts all symbols into the objects to be used."
580 (while (and avail (not (eieio-instance-inheritor-slot-boundp (car avail) 'sourcetype))) 580 (while (and avail (not (eieio-instance-inheritor-slot-boundp (car avail) 'sourcetype)))
581 (setq avail (cdr avail))) 581 (setq avail (cdr avail)))
582 (setq link (cdr avail))))) 582 (setq link (cdr avail)))))
583 ;; Return the disovered linkers 583 ;; Return the discovered linkers.
584 link))) 584 link)))
585 585
586 586
diff --git a/lisp/cedet/ede/project-am.el b/lisp/cedet/ede/project-am.el
index 316309092e7..033a486f1a7 100644
--- a/lisp/cedet/ede/project-am.el
+++ b/lisp/cedet/ede/project-am.el
@@ -284,7 +284,7 @@ buffer being in order to provide a smart default target type."
284 (progn (forward-line -1) 284 (progn (forward-line -1)
285 (end-of-line) 285 (end-of-line)
286 (insert "\n")) 286 (insert "\n"))
287 ;; If the above search fails, thats ok. We'd just want to be at 287 ;; If the above search fails, that's ok. We'd just want to be at
288 ;; point-min anyway. 288 ;; point-min anyway.
289 ) 289 )
290 (makefile-insert-macro (car (cdr (cdr ntype)))))) 290 (makefile-insert-macro (car (cdr (cdr ntype))))))
diff --git a/lisp/cedet/inversion.el b/lisp/cedet/inversion.el
index 065ac6d0559..35841d2a6b2 100644
--- a/lisp/cedet/inversion.el
+++ b/lisp/cedet/inversion.el
@@ -199,12 +199,12 @@ not an indication of new features or bug fixes."
199 (= v1-1 v2-1) 199 (= v1-1 v2-1)
200 (= v1-2 v2-2) 200 (= v1-2 v2-2)
201 (= v1-3 v2-3) 201 (= v1-3 v2-3)
202 v1-4 v2-4 ; all or nothin if elt - is = 202 v1-4 v2-4 ; all or nothing if elt - is =
203 (< v1-4 v2-4)) 203 (< v1-4 v2-4))
204 (and (= v1-0 v2-0) 204 (and (= v1-0 v2-0)
205 (= v1-1 v2-1) 205 (= v1-1 v2-1)
206 (= v1-2 v2-2) 206 (= v1-2 v2-2)
207 v1-3 v2-3 ; all or nothin if elt - is = 207 v1-3 v2-3 ; all or nothing if elt - is =
208 (< v1-3 v2-3)) 208 (< v1-3 v2-3))
209 (and (= v1-1 v2-1) 209 (and (= v1-1 v2-1)
210 (< v1-2 v2-2)) 210 (< v1-2 v2-2))
@@ -216,14 +216,14 @@ not an indication of new features or bug fixes."
216 ))) 216 )))
217 217
218(defun inversion-check-version (version incompatible-version 218(defun inversion-check-version (version incompatible-version
219 minimum &rest reserved) 219 minimum &rest reserved)
220 "Check that a given version meets the minimum requirement. 220 "Check that a given version meets the minimum requirement.
221VERSION, INCOMPATIBLE-VERSION and MINIMUM are of similar format to 221VERSION, INCOMPATIBLE-VERSION and MINIMUM are of similar format to
222return entries of `inversion-decode-version', or a classic version 222return entries of `inversion-decode-version', or a classic version
223string. INCOMPATIBLE-VERSION can be nil. 223string. INCOMPATIBLE-VERSION can be nil.
224RESERVED arguments are kept for a later use. 224RESERVED arguments are kept for a later use.
225Return: 225Return:
226- nil if everything is ok 226- nil if everything is ok.
227- 'outdated if VERSION is less than MINIMUM. 227- 'outdated if VERSION is less than MINIMUM.
228- 'incompatible if VERSION is not backward compatible with MINIMUM. 228- 'incompatible if VERSION is not backward compatible with MINIMUM.
229- t if the check failed." 229- t if the check failed."
@@ -374,7 +374,7 @@ Return nil when VERSION-STRING was not found."
374 (with-temp-buffer 374 (with-temp-buffer
375 ;; The 3000 is a bit arbitrary, but should cut down on 375 ;; The 3000 is a bit arbitrary, but should cut down on
376 ;; fileio as version info usually is at the very top 376 ;; fileio as version info usually is at the very top
377 ;; of a file. AFter a long commentary could be bad. 377 ;; of a file. After a long commentary could be bad.
378 (insert-file-contents-literally file nil 0 3000) 378 (insert-file-contents-literally file nil 0 3000)
379 (goto-char (point-min)) 379 (goto-char (point-min))
380 (when (re-search-forward (format tag package 'version) nil t) 380 (when (re-search-forward (format tag package 'version) nil t)
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el
index 0e7657642c2..511a3cd1d8b 100644
--- a/lisp/cedet/mode-local.el
+++ b/lisp/cedet/mode-local.el
@@ -36,7 +36,7 @@
36;; 36;;
37;; You should use a mode-local variable or override to allow extension 37;; You should use a mode-local variable or override to allow extension
38;; only if you expect a mode author to provide that extension. If a 38;; only if you expect a mode author to provide that extension. If a
39;; user might wish to customize a give variable or function then 39;; user might wish to customize a given variable or function then
40;; the existing customization mechanism should be used. 40;; the existing customization mechanism should be used.
41 41
42;; To Do: 42;; To Do:
@@ -55,7 +55,7 @@
55FUNCTION does not have arguments; when it is entered `current-buffer' 55FUNCTION does not have arguments; when it is entered `current-buffer'
56is the currently selected file buffer. 56is the currently selected file buffer.
57If optional argument PREDICATE is non nil, only select file buffers 57If optional argument PREDICATE is non nil, only select file buffers
58for which the function PREDICATE return non-nil. 58for which the function PREDICATE returns non-nil.
59If optional argument BUFFERS is non-nil, it is a list of buffers to 59If optional argument BUFFERS is non-nil, it is a list of buffers to
60walk through. It defaults to `buffer-list'." 60walk through. It defaults to `buffer-list'."
61 (dolist (b (or buffers (buffer-list))) 61 (dolist (b (or buffers (buffer-list)))
@@ -146,7 +146,7 @@ local variables have been defined."
146 (mode-local-map-mode-buffers #'activate-mode-local-bindings mode)) 146 (mode-local-map-mode-buffers #'activate-mode-local-bindings mode))
147 147
148(defmacro define-child-mode (mode parent &optional docstring) 148(defmacro define-child-mode (mode parent &optional docstring)
149 "Make major mode MODE inherits behavior from PARENT mode. 149 "Make major mode MODE inherit behavior from PARENT mode.
150DOCSTRING is optional and not used. 150DOCSTRING is optional and not used.
151To work properly, this should be put after PARENT mode local variables 151To work properly, this should be put after PARENT mode local variables
152definition." 152definition."
@@ -523,11 +523,11 @@ See also the function `define-overload'."
523 result))) 523 result)))
524 524
525(defmacro define-overloadable-function (name args docstring &rest body) 525(defmacro define-overloadable-function (name args docstring &rest body)
526 "Define a new function, as with `defun' which can be overloaded. 526 "Define a new function, as with `defun', which can be overloaded.
527NAME is the name of the function to create. 527NAME is the name of the function to create.
528ARGS are the arguments to the function. 528ARGS are the arguments to the function.
529DOCSTRING is a documentation string to describe the function. The 529DOCSTRING is a documentation string to describe the function. The
530docstring will automatically had details about its overload symbol 530docstring will automatically have details about its overload symbol
531appended to the end. 531appended to the end.
532BODY is code that would be run when there is no override defined. The 532BODY is code that would be run when there is no override defined. The
533default is to call the function `NAME-default' with the appropriate 533default is to call the function `NAME-default' with the appropriate
diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index e3d2bd967b6..4929feb0302 100644
--- a/lisp/cedet/pulse.el
+++ b/lisp/cedet/pulse.el
@@ -36,7 +36,7 @@
36;; 36;;
37;; `pulse-momentary-highlight-one-line' - Pulse a single line at POINT. 37;; `pulse-momentary-highlight-one-line' - Pulse a single line at POINT.
38;; `pulse-momentary-highlight-region' - Pulse a region. 38;; `pulse-momentary-highlight-region' - Pulse a region.
39;; `pulse-momentary-highlight-overlay' - Pulse an overlay 39;; `pulse-momentary-highlight-overlay' - Pulse an overlay.
40;; These three functions will just blink the specified area if 40;; These three functions will just blink the specified area if
41;; the version of Emacs you are using doesn't support pulsing. 41;; the version of Emacs you are using doesn't support pulsing.
42;; 42;;
@@ -65,7 +65,7 @@ background color.
65If the value is nil, highlight with an unchanging color until a 65If the value is nil, highlight with an unchanging color until a
66key is pressed. 66key is pressed.
67If the value is `never', do no coloring at all. 67If the value is `never', do no coloring at all.
68Any other value means to the default pulsing behavior. 68Any other value means to do the default pulsing behavior.
69 69
70If `pulse-flag' is non-nil, but `pulse-available-p' is nil, then 70If `pulse-flag' is non-nil, but `pulse-available-p' is nil, then
71this flag is ignored." 71this flag is ignored."
@@ -163,7 +163,7 @@ Return t if there is more drift to do, nil if completed."
163 163
164(defun pulse (&optional face) 164(defun pulse (&optional face)
165 "Pulse the colors on our highlight face. 165 "Pulse the colors on our highlight face.
166If optional FACE is provide, reset the face to FACE color, 166If optional FACE is provided, reset the face to FACE color,
167instead of `pulse-highlight-start-face'. 167instead of `pulse-highlight-start-face'.
168Be sure to call `pulse-reset-face' after calling pulse." 168Be sure to call `pulse-reset-face' after calling pulse."
169 (unwind-protect 169 (unwind-protect
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el
index 639b46ad2cf..337413caf75 100644
--- a/lisp/cedet/semantic.el
+++ b/lisp/cedet/semantic.el
@@ -344,7 +344,7 @@ to use Semantic, and `semantic-init-hook' is run."
344 ;; don't go along for the ride. 344 ;; don't go along for the ride.
345 (add-hook 'clone-indirect-buffer-hook 'semantic-clear-toplevel-cache 345 (add-hook 'clone-indirect-buffer-hook 'semantic-clear-toplevel-cache
346 nil t) 346 nil t)
347 ;; Specify that this function has done it's work. At this point 347 ;; Specify that this function has done its work. At this point
348 ;; we can consider that semantic is active in this buffer. 348 ;; we can consider that semantic is active in this buffer.
349 (setq semantic-new-buffer-fcn-was-run t) 349 (setq semantic-new-buffer-fcn-was-run t)
350 ;; Here are some buffer local variables we can initialize ourselves 350 ;; Here are some buffer local variables we can initialize ourselves
@@ -378,7 +378,7 @@ Do not set this yourself. Call `semantic-debug'.")
378 378
379(defun semantic-elapsed-time (start end) 379(defun semantic-elapsed-time (start end)
380 "Copied from elp.el. Was `elp-elapsed-time'. 380 "Copied from elp.el. Was `elp-elapsed-time'.
381Argument START and END bound the time being calculated." 381Arguments START and END bound the time being calculated."
382 (float-time (time-subtract end start))) 382 (float-time (time-subtract end start)))
383 383
384(defun bovinate (&optional clear) 384(defun bovinate (&optional clear)
@@ -431,13 +431,13 @@ will be silently ignored.
431 431
432Optional arguments: 432Optional arguments:
433NONTERMINAL is the rule to start parsing at. 433NONTERMINAL is the rule to start parsing at.
434DEPTH specifies the lexical depth to descend for parser that use 434DEPTH specifies the lexical depth to descend for parsers that use
435lexical analysis as their first step. 435lexical analysis as their first step.
436RETURNONERROR specifies that parsing should stop on the first 436RETURNONERROR specifies that parsing should stop on the first
437unmatched syntax encountered. When nil, parsing skips the syntax, 437unmatched syntax encountered. When nil, parsing skips the syntax,
438adding it to the unmatched syntax cache. 438adding it to the unmatched syntax cache.
439 439
440Must return a list of semantic tags wich have been cooked 440Must return a list of semantic tags which have been cooked
441\(repositioned properly) but which DO NOT HAVE OVERLAYS associated 441\(repositioned properly) but which DO NOT HAVE OVERLAYS associated
442with them. When overloading this function, use `semantic--tag-expand' 442with them. When overloading this function, use `semantic--tag-expand'
443to cook raw tags.") 443to cook raw tags.")
@@ -680,7 +680,7 @@ Does nothing if the current buffer doesn't need reparsing."
680 (save-excursion (semantic-fetch-tags)) 680 (save-excursion (semantic-fetch-tags))
681 nil) 681 nil)
682 ;; If we are here, it is because the lexical step failed, 682 ;; If we are here, it is because the lexical step failed,
683 ;; proably due to unterminated lists or something like that. 683 ;; probably due to unterminated lists or something like that.
684 684
685 ;; We do nothing, and just wait for the next idle timer 685 ;; We do nothing, and just wait for the next idle timer
686 ;; to go off. In the meantime, remember this, and make sure 686 ;; to go off. In the meantime, remember this, and make sure
@@ -960,7 +960,7 @@ Throw away all the old tags, and recreate the tag database."
960 '("--")) 960 '("--"))
961 (define-key navigate-menu [senator-go-to-up-reference] 961 (define-key navigate-menu [senator-go-to-up-reference]
962 '(menu-item "Parent Tag" senator-go-to-up-reference 962 '(menu-item "Parent Tag" senator-go-to-up-reference
963 :help "Navigate up one reference by tag.")) 963 :help "Navigate up one reference by tag"))
964 (define-key navigate-menu [senator-next-tag] 964 (define-key navigate-menu [senator-next-tag]
965 '(menu-item "Next Tag" senator-next-tag 965 '(menu-item "Next Tag" senator-next-tag
966 :help "Go to the next tag")) 966 :help "Go to the next tag"))
@@ -971,7 +971,7 @@ Throw away all the old tags, and recreate the tag database."
971 ;; Top level menu items: 971 ;; Top level menu items:
972 (define-key cedet-menu-map [semantic-force-refresh] 972 (define-key cedet-menu-map [semantic-force-refresh]
973 '(menu-item "Reparse Buffer" semantic-force-refresh 973 '(menu-item "Reparse Buffer" semantic-force-refresh
974 :help "Force a full reparse of the current buffer." 974 :help "Force a full reparse of the current buffer"
975 :visible semantic-mode)) 975 :visible semantic-mode))
976 (define-key cedet-menu-map [semantic-edit-menu] 976 (define-key cedet-menu-map [semantic-edit-menu]
977 `(menu-item "Edit Tags" ,edit-menu 977 `(menu-item "Edit Tags" ,edit-menu
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el
index 43e998b852e..ef09ea13b42 100644
--- a/lisp/cedet/semantic/analyze.el
+++ b/lisp/cedet/semantic/analyze.el
@@ -57,7 +57,7 @@
57;; 57;;
58;; context - A semantic datatype representing a point in a buffer. 58;; context - A semantic datatype representing a point in a buffer.
59;; 59;;
60;; constriant - If a context specifies a specific datatype is needed, 60;; constraint - If a context specifies a specific datatype is needed,
61;; that is a constraint. 61;; that is a constraint.
62;; constants - Some datatypes define elements of themselves as a 62;; constants - Some datatypes define elements of themselves as a
63;; constant. These need to be returned as there would be no 63;; constant. These need to be returned as there would be no
@@ -161,7 +161,7 @@ be just a string in some circumstances.")
161(defclass semantic-analyze-context-return (semantic-analyze-context) 161(defclass semantic-analyze-context-return (semantic-analyze-context)
162 () ; No extra data. 162 () ; No extra data.
163 "Analysis class for return data. 163 "Analysis class for return data.
164Return data methods identify the requred type by the return value 164Return data methods identify the required type by the return value
165of the parent function.") 165of the parent function.")
166 166
167;;; METHODS 167;;; METHODS
@@ -254,7 +254,7 @@ Optional argument THROWSYM specifies a symbol the throw on non-recoverable error
254 (fname nil) 254 (fname nil)
255 (miniscope (when scope (clone scope))) 255 (miniscope (when scope (clone scope)))
256 ) 256 )
257 ;; First order check. Is this wholely contained in the typecache? 257 ;; First order check. Is this wholly contained in the typecache?
258 (setq tmp (semanticdb-typecache-find sequence)) 258 (setq tmp (semanticdb-typecache-find sequence))
259 259
260 (if tmp 260 (if tmp
diff --git a/lisp/cedet/semantic/analyze/fcn.el b/lisp/cedet/semantic/analyze/fcn.el
index eae6d013400..967e5c59cda 100644
--- a/lisp/cedet/semantic/analyze/fcn.el
+++ b/lisp/cedet/semantic/analyze/fcn.el
@@ -157,7 +157,7 @@ Almost all searches use the same arguments."
157;; 157;;
158 158
159(define-overloadable-function semantic-analyze-dereference-metatype (type scope &optional type-declaration) 159(define-overloadable-function semantic-analyze-dereference-metatype (type scope &optional type-declaration)
160 ;; todo - move into typecahe!! 160 ;; todo - move into typecache!!
161 "Return a concrete type tag based on input TYPE tag. 161 "Return a concrete type tag based on input TYPE tag.
162A concrete type is an actual declaration of a memory description, 162A concrete type is an actual declaration of a memory description,
163such as a structure, or class. A meta type is an alias, 163such as a structure, or class. A meta type is an alias,
diff --git a/lisp/cedet/semantic/bovine/c-by.el b/lisp/cedet/semantic/bovine/c-by.el
index 31489a4f625..99429f01acd 100644
--- a/lisp/cedet/semantic/bovine/c-by.el
+++ b/lisp/cedet/semantic/bovine/c-by.el
@@ -1,6 +1,6 @@
1;;; semantic/bovine/c-by.el --- Generated parser support file 1;;; semantic/bovine/c-by.el --- Generated parser support file
2 2
3;;; Copyright (C) 1999-2011 Free Software Foundation, Inc. 3;; Copyright (C) 1999-2011 Free Software Foundation, Inc.
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index d8b004df1bd..4da23498cfc 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -298,7 +298,7 @@ Moves completely over balanced #if blocks."
298 ;; @TODO - can we use the new c-scan-conditionals 298 ;; @TODO - can we use the new c-scan-conditionals
299 (c-forward-conditional 1)) 299 (c-forward-conditional 1))
300 ((looking-at "^\\s-*#\\s-*elif") 300 ((looking-at "^\\s-*#\\s-*elif")
301 ;; We need to let the preprocessor analize this one. 301 ;; We need to let the preprocessor analyze this one.
302 (beginning-of-line) 302 (beginning-of-line)
303 (setq done t) 303 (setq done t)
304 ) 304 )
@@ -344,7 +344,7 @@ Uses known macro tables in SPP to determine what block to skip."
344 (string= sym "0")) 344 (string= sym "0"))
345 (and ifdef (not (semantic-lex-spp-symbol-p sym))) 345 (and ifdef (not (semantic-lex-spp-symbol-p sym)))
346 (and ifndef (semantic-lex-spp-symbol-p sym))) 346 (and ifndef (semantic-lex-spp-symbol-p sym)))
347 ;; The if indecates to skip this preprocessor section 347 ;; The if indicates to skip this preprocessor section.
348 (let ((pt nil)) 348 (let ((pt nil))
349 ;; (message "%s %s yes" ift sym) 349 ;; (message "%s %s yes" ift sym)
350 (beginning-of-line) 350 (beginning-of-line)
@@ -650,7 +650,7 @@ as for the parent."
650 (setq depth 0) 650 (setq depth 0)
651 651
652 ;; This is a copy of semantic-parse-region-default where we 652 ;; This is a copy of semantic-parse-region-default where we
653 ;; are doing something special with the lexication of the 653 ;; are doing something special with the lexing of the
654 ;; contents of the semantic-list token. Stuff not used by C 654 ;; contents of the semantic-list token. Stuff not used by C
655 ;; removed. 655 ;; removed.
656 (let ((tokstream 656 (let ((tokstream
@@ -816,7 +816,7 @@ now.
816 ;; 816 ;;
817 ;; will create 2 toplevel tags, one is type A, and the other variable B 817 ;; will create 2 toplevel tags, one is type A, and the other variable B
818 ;; where the :type of B is just a type tag A that is a prototype, and 818 ;; where the :type of B is just a type tag A that is a prototype, and
819 ;; the actual struct info of A is it's own toplevel tag. 819 ;; the actual struct info of A is its own toplevel tag.
820 (when (or (semantic-tag-of-class-p tag 'function) 820 (when (or (semantic-tag-of-class-p tag 'function)
821 (semantic-tag-of-class-p tag 'variable)) 821 (semantic-tag-of-class-p tag 'variable))
822 (let* ((basetype (semantic-tag-type tag)) 822 (let* ((basetype (semantic-tag-type tag))
@@ -954,7 +954,7 @@ now.
954 (nth 1 (car names)) ; name 954 (nth 1 (car names)) ; name
955 "typedef" 955 "typedef"
956 (semantic-tag-type-members tag) 956 (semantic-tag-type-members tag)
957 ;; parent is just tbe name of what 957 ;; parent is just the name of what
958 ;; is passed down as a tag. 958 ;; is passed down as a tag.
959 (list 959 (list
960 (semantic-tag-name 960 (semantic-tag-name
@@ -1311,7 +1311,7 @@ Optional PARENT and COLOR as specified with
1311 "Return non-nil if TAG is considered abstract. 1311 "Return non-nil if TAG is considered abstract.
1312PARENT is tag's parent. 1312PARENT is tag's parent.
1313In C, a method is abstract if it is `virtual', which is already 1313In C, a method is abstract if it is `virtual', which is already
1314handled. A class is abstract iff it's destructor is virtual." 1314handled. A class is abstract iff its destructor is virtual."
1315 (cond 1315 (cond
1316 ((eq (semantic-tag-class tag) 'type) 1316 ((eq (semantic-tag-class tag) 'type)
1317 (require 'semantic/find) 1317 (require 'semantic/find)
@@ -1591,7 +1591,7 @@ DO NOT return the list of tags encompassing point."
1591 (setq tagreturn (cons (semantic-tag-type (car (semanticdb-find-result-nth tmp idx))) tagreturn)) 1591 (setq tagreturn (cons (semantic-tag-type (car (semanticdb-find-result-nth tmp idx))) tagreturn))
1592 (setq idx (1+ idx))) 1592 (setq idx (1+ idx)))
1593 ) 1593 )
1594 ;; Use the encompased types around point to also look for using statements. 1594 ;; Use the encompassed types around point to also look for using statements.
1595 ;;(setq tagreturn (cons "bread_name" tagreturn)) 1595 ;;(setq tagreturn (cons "bread_name" tagreturn))
1596 (while (cdr tagsaroundpoint) ; don't search the last one 1596 (while (cdr tagsaroundpoint) ; don't search the last one
1597 (setq tmp (semantic-find-tags-by-class 'using (semantic-tag-components (car tagsaroundpoint)))) 1597 (setq tmp (semantic-find-tags-by-class 'using (semantic-tag-components (car tagsaroundpoint))))
diff --git a/lisp/cedet/semantic/bovine/debug.el b/lisp/cedet/semantic/bovine/debug.el
index 9ca7409e335..684db1e7bbf 100644
--- a/lisp/cedet/semantic/bovine/debug.el
+++ b/lisp/cedet/semantic/bovine/debug.el
@@ -114,7 +114,7 @@ LEXTOKEN, is a token returned by the lexer which is being matched."
114 :documentation 114 :documentation
115 "An error condition caught in an action.") 115 "An error condition caught in an action.")
116 ) 116 )
117 "Debugger frame representaion of a lisp error thrown during parsing.") 117 "Debugger frame representation of a lisp error thrown during parsing.")
118 118
119(defun semantic-create-bovine-debug-error-frame (condition) 119(defun semantic-create-bovine-debug-error-frame (condition)
120 "Create an error frame for bovine debugger. 120 "Create an error frame for bovine debugger.
diff --git a/lisp/cedet/semantic/bovine/el.el b/lisp/cedet/semantic/bovine/el.el
index 2151e9ef53b..98f744dca6e 100644
--- a/lisp/cedet/semantic/bovine/el.el
+++ b/lisp/cedet/semantic/bovine/el.el
@@ -863,7 +863,7 @@ fields and such to, but that is for some other day."
863In Emacs Lisp, a prototype for something may start (autoload ...). 863In Emacs Lisp, a prototype for something may start (autoload ...).
864This is certainly not expected if this is used to display a summary. 864This is certainly not expected if this is used to display a summary.
865Make up something else. When we go to write something that needs 865Make up something else. When we go to write something that needs
866a real Emacs Lisp protype, we can fix it then." 866a real Emacs Lisp prototype, we can fix it then."
867 (let ((class (semantic-tag-class tag)) 867 (let ((class (semantic-tag-class tag))
868 (name (semantic-format-tag-name tag parent color)) 868 (name (semantic-format-tag-name tag parent color))
869 ) 869 )
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index 41a569564d0..7e01b88f60b 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -1023,9 +1023,9 @@ Output must be in semanticdb Find result format."
1023 1023
1024(defmethod semantic-collector-try-completion-whitespace 1024(defmethod semantic-collector-try-completion-whitespace
1025 ((obj semantic-collector-abstract) prefix) 1025 ((obj semantic-collector-abstract) prefix)
1026 "For OBJ, do whatepsace completion based on PREFIX. 1026 "For OBJ, do whitespace completion based on PREFIX.
1027This implies that if there are two completions, one matching 1027This implies that if there are two completions, one matching
1028the test \"preifx\\>\", and one not, the one matching the full 1028the test \"prefix\\>\", and one not, the one matching the full
1029word version of PREFIX will be chosen, and that text returned. 1029word version of PREFIX will be chosen, and that text returned.
1030This function requires that `semantic-collector-calculate-completions' 1030This function requires that `semantic-collector-calculate-completions'
1031has been run first." 1031has been run first."
@@ -1478,7 +1478,7 @@ one in the source buffer."
1478 (tag (cdr nt)) 1478 (tag (cdr nt))
1479 (table (car nt)) 1479 (table (car nt))
1480 ) 1480 )
1481 ;; If we fail to normalize, resete. 1481 ;; If we fail to normalize, reset.
1482 (when (not tag) (setq table rtable tag rtag)) 1482 (when (not tag) (setq table rtable tag rtag))
1483 ;; Do the focus. 1483 ;; Do the focus.
1484 (let ((buf (or (semantic-tag-buffer tag) 1484 (let ((buf (or (semantic-tag-buffer tag)
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el
index 35aef5d16ef..a651e08d53c 100644
--- a/lisp/cedet/semantic/db-find.el
+++ b/lisp/cedet/semantic/db-find.el
@@ -210,7 +210,7 @@ This class will cache data derived during various searches.")
210 "Synchronize the search index IDX with some NEW-TAGS." 210 "Synchronize the search index IDX with some NEW-TAGS."
211 ;; Reset our parts. 211 ;; Reset our parts.
212 (semantic-reset idx) 212 (semantic-reset idx)
213 ;; Notify dependants by clearning their indicies. 213 ;; Notify dependants by clearing their indices.
214 (semanticdb-notify-references 214 (semanticdb-notify-references
215 (oref idx table) 215 (oref idx table)
216 (lambda (tab me) 216 (lambda (tab me)
@@ -224,7 +224,7 @@ This class will cache data derived during various searches.")
224 (if (semantic-find-tags-by-class 'include new-tags) 224 (if (semantic-find-tags-by-class 'include new-tags)
225 (progn 225 (progn
226 (semantic-reset idx) 226 (semantic-reset idx)
227 ;; Notify dependants by clearning their indicies. 227 ;; Notify dependants by clearing their indices.
228 (semanticdb-notify-references 228 (semanticdb-notify-references
229 (oref idx table) 229 (oref idx table)
230 (lambda (tab me) 230 (lambda (tab me)
@@ -234,7 +234,7 @@ This class will cache data derived during various searches.")
234 (when (oref idx type-cache) 234 (when (oref idx type-cache)
235 (when (semanticdb-partial-synchronize (oref idx type-cache) new-tags) 235 (when (semanticdb-partial-synchronize (oref idx type-cache) new-tags)
236 ;; If the synchronize returns true, we need to notify. 236 ;; If the synchronize returns true, we need to notify.
237 ;; Notify dependants by clearning their indicies. 237 ;; Notify dependants by clearing their indices.
238 (semanticdb-notify-references 238 (semanticdb-notify-references
239 (oref idx table) 239 (oref idx table)
240 (lambda (tab me) 240 (lambda (tab me)
@@ -405,10 +405,10 @@ Default action as described in `semanticdb-find-translate-path'."
405 ;; do a caching lookup. 405 ;; do a caching lookup.
406 (let ((index (semanticdb-get-table-index table))) 406 (let ((index (semanticdb-get-table-index table)))
407 (if (semanticdb-find-need-cache-update-p table) 407 (if (semanticdb-find-need-cache-update-p table)
408 ;; Lets go look up our indicies 408 ;; Let's go look up our indices.
409 (let ((ans (semanticdb-find-translate-path-includes--internal path))) 409 (let ((ans (semanticdb-find-translate-path-includes--internal path)))
410 (oset index include-path ans) 410 (oset index include-path ans)
411 ;; Once we have our new indicies set up, notify those 411 ;; Once we have our new indices set up, notify those
412 ;; who depend on us if we found something for them to 412 ;; who depend on us if we found something for them to
413 ;; depend on. 413 ;; depend on.
414 (when ans (semanticdb-refresh-references table)) 414 (when ans (semanticdb-refresh-references table))
@@ -575,7 +575,7 @@ a new path from the provided PATH."
575 (setq ans (semanticdb-file-table 575 (setq ans (semanticdb-file-table
576 (car systemdb) 576 (car systemdb)
577 ;; I would expect most omniscient to return the same 577 ;; I would expect most omniscient to return the same
578 ;; thing reguardless of filename, but we may have 578 ;; thing regardless of filename, but we may have
579 ;; one that can return a table of all things the 579 ;; one that can return a table of all things the
580 ;; current file needs. 580 ;; current file needs.
581 (buffer-file-name (current-buffer)))) 581 (buffer-file-name (current-buffer))))
@@ -675,7 +675,7 @@ Included databases are filtered based on `semanticdb-find-default-throttle'."
675 ;; 675 ;;
676 ;; NOTE: Not used if EDE is active! 676 ;; NOTE: Not used if EDE is active!
677 ((and (semanticdb-find-throttle-active-p 'project) 677 ((and (semanticdb-find-throttle-active-p 'project)
678 ;; And dont do this if it is a system include. Not supported by all languages, 678 ;; And don't do this if it is a system include. Not supported by all languages,
679 ;; but when it is, this is a nice fast way to skip this step. 679 ;; but when it is, this is a nice fast way to skip this step.
680 (not (semantic-tag-include-system-p includetag)) 680 (not (semantic-tag-include-system-p includetag))
681 ;; Don't do this if we have an EDE project. 681 ;; Don't do this if we have an EDE project.
diff --git a/lisp/cedet/semantic/db-javascript.el b/lisp/cedet/semantic/db-javascript.el
index 213216cee1a..e662290340d 100644
--- a/lisp/cedet/semantic/db-javascript.el
+++ b/lisp/cedet/semantic/db-javascript.el
@@ -137,7 +137,7 @@ Create one of our special tables that can act as an intermediary."
137 137
138(defmethod semanticdb-get-tags ((table semanticdb-table-javascript )) 138(defmethod semanticdb-get-tags ((table semanticdb-table-javascript ))
139 "Return the list of tags belonging to TABLE." 139 "Return the list of tags belonging to TABLE."
140 ;; NOTE: Omniscient databases probably don't want to keep large tabes 140 ;; NOTE: Omniscient databases probably don't want to keep large tables
141 ;; lolly-gagging about. Keep internal Emacs tables empty and 141 ;; lolly-gagging about. Keep internal Emacs tables empty and
142 ;; refer to alternate databases when you need something. 142 ;; refer to alternate databases when you need something.
143 semanticdb-javascript-tags) 143 semanticdb-javascript-tags)
@@ -151,7 +151,7 @@ local variable."
151 151
152;;; Usage 152;;; Usage
153;; 153;;
154;; Unlike other tables, an omniscent database does not need to 154;; Unlike other tables, an omniscient database does not need to
155;; be associated with a path. Use this routine to always add ourselves 155;; be associated with a path. Use this routine to always add ourselves
156;; to a search list. 156;; to a search list.
157(define-mode-local-override semanticdb-find-translate-path javascript-mode 157(define-mode-local-override semanticdb-find-translate-path javascript-mode
diff --git a/lisp/cedet/semantic/db-typecache.el b/lisp/cedet/semantic/db-typecache.el
index a4c4bd99f26..7d23ad17009 100644
--- a/lisp/cedet/semantic/db-typecache.el
+++ b/lisp/cedet/semantic/db-typecache.el
@@ -368,7 +368,7 @@ a master list."
368 (semanticdb-typecache-merge-streams 368 (semanticdb-typecache-merge-streams
369 incstream 369 incstream
370 ;; Getting the cache from this table will also cause this 370 ;; Getting the cache from this table will also cause this
371 ;; file to update its cache from its decendents. 371 ;; file to update its cache from its descendants.
372 ;; 372 ;;
373 ;; In theory, caches are only built for most includes 373 ;; In theory, caches are only built for most includes
374 ;; only once (in the loop before this one), so this ends 374 ;; only once (in the loop before this one), so this ends
diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el
index c9013ed8c90..3d2128db29a 100644
--- a/lisp/cedet/semantic/db.el
+++ b/lisp/cedet/semantic/db.el
@@ -636,7 +636,7 @@ The file associated with OBJ does not need to be in a buffer."
636 (when (featurep 'semantic/lex-spp) 636 (when (featurep 'semantic/lex-spp)
637 (oset table lexical-table (semantic-lex-spp-save-table))) 637 (oset table lexical-table (semantic-lex-spp-save-table)))
638 638
639 ;; Incremental parser doesn't mokey around with this. 639 ;; Incremental parser doesn't monkey around with this.
640 (oset table unmatched-syntax semantic-unmatched-syntax-cache) 640 (oset table unmatched-syntax semantic-unmatched-syntax-cache)
641 641
642 ;; Synchronize the index 642 ;; Synchronize the index
diff --git a/lisp/cedet/semantic/debug.el b/lisp/cedet/semantic/debug.el
index ecab73a80dc..6db47f8b0be 100644
--- a/lisp/cedet/semantic/debug.el
+++ b/lisp/cedet/semantic/debug.el
@@ -175,7 +175,7 @@ TOKEN is a lexical token."
175 "For IFACE, highlight NONTERM in the parser buffer. 175 "For IFACE, highlight NONTERM in the parser buffer.
176NONTERM is the name of the rule currently being processed that shows up 176NONTERM is the name of the rule currently being processed that shows up
177as a nonterminal (or tag) in the source buffer. 177as a nonterminal (or tag) in the source buffer.
178If RULE and MATCH indicies are specified, highlight those also." 178If RULE and MATCH indices are specified, highlight those also."
179 (set-buffer (oref iface :parser-buffer)) 179 (set-buffer (oref iface :parser-buffer))
180 180
181 (let* ((rules (semantic-find-tags-by-class 'nonterminal (current-buffer))) 181 (let* ((rules (semantic-find-tags-by-class 'nonterminal (current-buffer)))
@@ -519,22 +519,22 @@ down to your parser later."
519 ) 519 )
520 520
521(defmethod semantic-debug-parser-go ((parser semantic-debug-parser)) 521(defmethod semantic-debug-parser-go ((parser semantic-debug-parser))
522 "Continue executiong in this PARSER until the next breakpoint." 522 "Continue execution in this PARSER until the next breakpoint."
523 (setq semantic-debug-user-command 'go) 523 (setq semantic-debug-user-command 'go)
524 ) 524 )
525 525
526(defmethod semantic-debug-parser-fail ((parser semantic-debug-parser)) 526(defmethod semantic-debug-parser-fail ((parser semantic-debug-parser))
527 "Continue executiong in this PARSER until the next breakpoint." 527 "Continue execution in this PARSER until the next breakpoint."
528 (setq semantic-debug-user-command 'fail) 528 (setq semantic-debug-user-command 'fail)
529 ) 529 )
530 530
531(defmethod semantic-debug-parser-quit ((parser semantic-debug-parser)) 531(defmethod semantic-debug-parser-quit ((parser semantic-debug-parser))
532 "Continue executiong in this PARSER until the next breakpoint." 532 "Continue execution in this PARSER until the next breakpoint."
533 (setq semantic-debug-user-command 'quit) 533 (setq semantic-debug-user-command 'quit)
534 ) 534 )
535 535
536(defmethod semantic-debug-parser-abort ((parser semantic-debug-parser)) 536(defmethod semantic-debug-parser-abort ((parser semantic-debug-parser))
537 "Continue executiong in this PARSER until the next breakpoint." 537 "Continue execution in this PARSER until the next breakpoint."
538 (setq semantic-debug-user-command 'abort) 538 (setq semantic-debug-user-command 'abort)
539 ) 539 )
540 540
diff --git a/lisp/cedet/semantic/edit.el b/lisp/cedet/semantic/edit.el
index 4ac2733a34f..3fbcf6d932f 100644
--- a/lisp/cedet/semantic/edit.el
+++ b/lisp/cedet/semantic/edit.el
@@ -392,7 +392,7 @@ See `semantic-edits-change-leaf-tag' for details on parents."
392 ;; There are no tags left, and all tags originally 392 ;; There are no tags left, and all tags originally
393 ;; found are encompassed by the change. Setup our list 393 ;; found are encompassed by the change. Setup our list
394 ;; from the cache 394 ;; from the cache
395 (setq list-to-search semantic--buffer-cache);; We have a tag ouside the list. Check for 395 (setq list-to-search semantic--buffer-cache);; We have a tag outside the list. Check for
396 ;; We know we have a parent because it would 396 ;; We know we have a parent because it would
397 ;; completely cover the change. A tag can only 397 ;; completely cover the change. A tag can only
398 ;; do that if it is a parent after we get here. 398 ;; do that if it is a parent after we get here.
@@ -549,7 +549,7 @@ This function is for internal use by `semantic-edits-incremental-parser'."
549 ;; is not the first change for this 549 ;; is not the first change for this
550 ;; iteration, and it starts before the end 550 ;; iteration, and it starts before the end
551 ;; of current parse region, then it is 551 ;; of current parse region, then it is
552 ;; encompased within the bounds of tags 552 ;; encompassed within the bounds of tags
553 ;; modified by the previous iteration's 553 ;; modified by the previous iteration's
554 ;; change. 554 ;; change.
555 (< (semantic-overlay-start (car changes)) 555 (< (semantic-overlay-start (car changes))
@@ -649,7 +649,7 @@ This function is for internal use by `semantic-edits-incremental-parser'."
649 parent-tag (aref tmp 2)) 649 parent-tag (aref tmp 2))
650 ;; We can calculate parse begin/end by checking 650 ;; We can calculate parse begin/end by checking
651 ;; out what is in TAGS. The one near start is 651 ;; out what is in TAGS. The one near start is
652 ;; always first. Make sure the reprase includes 652 ;; always first. Make sure the reparse includes
653 ;; the `whitespace' around the snarfed tags. 653 ;; the `whitespace' around the snarfed tags.
654 ;; Since cache-list is positioned properly, use it 654 ;; Since cache-list is positioned properly, use it
655 ;; to find that boundary. 655 ;; to find that boundary.
@@ -707,7 +707,7 @@ This function is for internal use by `semantic-edits-incremental-parser'."
707 ;; since that is how the multi-tag parser works. Grab 707 ;; since that is how the multi-tag parser works. Grab
708 ;; the reparse symbol from the first of the returned tags. 708 ;; the reparse symbol from the first of the returned tags.
709 ;; 709 ;;
710 ;; Feb '06 - If repase-symbol is nil, then they are top level 710 ;; Feb '06 - If reparse-symbol is nil, then they are top level
711 ;; tags. (I'm guessing.) Is this right? 711 ;; tags. (I'm guessing.) Is this right?
712 (setq reparse-symbol 712 (setq reparse-symbol
713 (semantic--tag-get-property (car (or tags cache-list)) 713 (semantic--tag-get-property (car (or tags cache-list))
@@ -859,7 +859,7 @@ pre-positioned to a convenient location."
859 (setq cacheend chil) 859 (setq cacheend chil)
860 (while (and cacheend (not (eq last (car cacheend)))) 860 (while (and cacheend (not (eq last (car cacheend))))
861 (setq cacheend (cdr cacheend))) 861 (setq cacheend (cdr cacheend)))
862 ;; The splicable part is after cacheend.. so move cacheend 862 ;; The spliceable part is after cacheend.. so move cacheend
863 ;; one more tag. 863 ;; one more tag.
864 (setq cacheend (cdr cacheend)) 864 (setq cacheend (cdr cacheend))
865 ;; Splice the found end tag into the cons cell 865 ;; Splice the found end tag into the cons cell
diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el
index ca3015c5941..479044ec518 100644
--- a/lisp/cedet/semantic/fw.el
+++ b/lisp/cedet/semantic/fw.el
@@ -251,7 +251,7 @@ later installation should be done in MODE hook."
251 251
252(defmacro semantic-exit-on-input (symbol &rest forms) 252(defmacro semantic-exit-on-input (symbol &rest forms)
253 "Using SYMBOL as an argument to `throw', execute FORMS. 253 "Using SYMBOL as an argument to `throw', execute FORMS.
254If FORMS includes a call to `semantic-thow-on-input', then 254If FORMS includes a call to `semantic-throw-on-input', then
255if a user presses any key during execution, this form macro 255if a user presses any key during execution, this form macro
256will exit with the value passed to `semantic-throw-on-input'. 256will exit with the value passed to `semantic-throw-on-input'.
257If FORMS completes, then the return value is the same as `progn'." 257If FORMS completes, then the return value is the same as `progn'."
diff --git a/lisp/cedet/semantic/grammar-wy.el b/lisp/cedet/semantic/grammar-wy.el
index acaad49f6af..879fdd92331 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 admin/grammars/grammar.wy.
26;; the upstream CEDET repository.
27 26
28;;; Code: 27;;; Code:
29 28
@@ -113,296 +112,296 @@
113 '((DEFAULT-PREC NO-DEFAULT-PREC KEYWORD LANGUAGEMODE LEFT NONASSOC PACKAGE PREC PUT QUOTEMODE RIGHT SCOPESTART START TOKEN TYPE USE-MACROS STRING SYMBOL PERCENT_PERCENT CHARACTER PREFIXED_LIST SEXP PROLOGUE EPILOGUE PAREN_BLOCK BRACE_BLOCK LPAREN RPAREN LBRACE RBRACE COLON SEMI OR LT GT) 112 '((DEFAULT-PREC NO-DEFAULT-PREC KEYWORD LANGUAGEMODE LEFT NONASSOC PACKAGE PREC PUT QUOTEMODE RIGHT SCOPESTART START TOKEN TYPE USE-MACROS STRING SYMBOL PERCENT_PERCENT CHARACTER PREFIXED_LIST SEXP PROLOGUE EPILOGUE PAREN_BLOCK BRACE_BLOCK LPAREN RPAREN LBRACE RBRACE COLON SEMI OR LT GT)
114 nil 113 nil
115 (grammar 114 (grammar
116 ((prologue)) 115 ((prologue))
117 ((epilogue)) 116 ((epilogue))
118 ((declaration)) 117 ((declaration))
119 ((nonterminal)) 118 ((nonterminal))
120 ((PERCENT_PERCENT))) 119 ((PERCENT_PERCENT)))
121 (prologue 120 (prologue
122 ((PROLOGUE) 121 ((PROLOGUE)
123 (wisent-raw-tag 122 (wisent-raw-tag
124 (semantic-tag-new-code "prologue" nil)))) 123 (semantic-tag-new-code "prologue" nil))))
125 (epilogue 124 (epilogue
126 ((EPILOGUE) 125 ((EPILOGUE)
127 (wisent-raw-tag 126 (wisent-raw-tag
128 (semantic-tag-new-code "epilogue" nil)))) 127 (semantic-tag-new-code "epilogue" nil))))
129 (declaration 128 (declaration
130 ((decl) 129 ((decl)
131 (eval $1))) 130 (eval $1)))
132 (decl 131 (decl
133 ((default_prec_decl)) 132 ((default_prec_decl))
134 ((no_default_prec_decl)) 133 ((no_default_prec_decl))
135 ((languagemode_decl)) 134 ((languagemode_decl))
136 ((package_decl)) 135 ((package_decl))
137 ((precedence_decl)) 136 ((precedence_decl))
138 ((put_decl)) 137 ((put_decl))
139 ((quotemode_decl)) 138 ((quotemode_decl))
140 ((scopestart_decl)) 139 ((scopestart_decl))
141 ((start_decl)) 140 ((start_decl))
142 ((keyword_decl)) 141 ((keyword_decl))
143 ((token_decl)) 142 ((token_decl))
144 ((type_decl)) 143 ((type_decl))
145 ((use_macros_decl))) 144 ((use_macros_decl)))
146 (default_prec_decl 145 (default_prec_decl
147 ((DEFAULT-PREC) 146 ((DEFAULT-PREC)
148 `(wisent-raw-tag 147 `(wisent-raw-tag
149 (semantic-tag "default-prec" 'assoc :value 148 (semantic-tag "default-prec" 'assoc :value
150 '("t"))))) 149 '("t")))))
151 (no_default_prec_decl 150 (no_default_prec_decl
152 ((NO-DEFAULT-PREC) 151 ((NO-DEFAULT-PREC)
153 `(wisent-raw-tag 152 `(wisent-raw-tag
154 (semantic-tag "default-prec" 'assoc :value 153 (semantic-tag "default-prec" 'assoc :value
155 '("nil"))))) 154 '("nil")))))
156 (languagemode_decl 155 (languagemode_decl
157 ((LANGUAGEMODE symbols) 156 ((LANGUAGEMODE symbols)
158 `(wisent-raw-tag 157 `(wisent-raw-tag
159 (semantic-tag ',(car $2) 158 (semantic-tag ',(car $2)
160 'languagemode :rest ',(cdr $2))))) 159 'languagemode :rest ',(cdr $2)))))
161 (package_decl 160 (package_decl
162 ((PACKAGE SYMBOL) 161 ((PACKAGE SYMBOL)
163 `(wisent-raw-tag 162 `(wisent-raw-tag
164 (semantic-tag-new-package ',$2 nil)))) 163 (semantic-tag-new-package ',$2 nil))))
165 (precedence_decl 164 (precedence_decl
166 ((associativity token_type_opt items) 165 ((associativity token_type_opt items)
167 `(wisent-raw-tag 166 `(wisent-raw-tag
168 (semantic-tag ',$1 'assoc :type ',$2 :value ',$3)))) 167 (semantic-tag ',$1 'assoc :type ',$2 :value ',$3))))
169 (associativity 168 (associativity
170 ((LEFT) 169 ((LEFT)
171 (progn "left")) 170 (progn "left"))
172 ((RIGHT) 171 ((RIGHT)
173 (progn "right")) 172 (progn "right"))
174 ((NONASSOC) 173 ((NONASSOC)
175 (progn "nonassoc"))) 174 (progn "nonassoc")))
176 (put_decl 175 (put_decl
177 ((PUT put_name put_value) 176 ((PUT put_name put_value)
178 `(wisent-raw-tag 177 `(wisent-raw-tag
179 (semantic-tag ',$2 'put :value ',(list $3)))) 178 (semantic-tag ',$2 'put :value ',(list $3))))
180 ((PUT put_name put_value_list) 179 ((PUT put_name put_value_list)
181 `(wisent-raw-tag 180 `(wisent-raw-tag
182 (semantic-tag ',$2 'put :value ',$3))) 181 (semantic-tag ',$2 'put :value ',$3)))
183 ((PUT put_name_list put_value) 182 ((PUT put_name_list put_value)
184 `(wisent-raw-tag 183 `(wisent-raw-tag
185 (semantic-tag ',(car $2) 184 (semantic-tag ',(car $2)
186 'put :rest ',(cdr $2) 185 'put :rest ',(cdr $2)
187 :value ',(list $3)))) 186 :value ',(list $3))))
188 ((PUT put_name_list put_value_list) 187 ((PUT put_name_list put_value_list)
189 `(wisent-raw-tag 188 `(wisent-raw-tag
190 (semantic-tag ',(car $2) 189 (semantic-tag ',(car $2)
191 'put :rest ',(cdr $2) 190 'put :rest ',(cdr $2)
192 :value ',$3)))) 191 :value ',$3))))
193 (put_name_list 192 (put_name_list
194 ((BRACE_BLOCK) 193 ((BRACE_BLOCK)
195 (mapcar 'semantic-tag-name 194 (mapcar 'semantic-tag-name
196 (semantic-parse-region 195 (semantic-parse-region
197 (car $region1) 196 (car $region1)
198 (cdr $region1) 197 (cdr $region1)
199 'put_names 1)))) 198 'put_names 1))))
200 (put_names 199 (put_names
201 ((LBRACE) 200 ((LBRACE)
202 nil) 201 nil)
203 ((RBRACE) 202 ((RBRACE)
204 nil) 203 nil)
205 ((put_name) 204 ((put_name)
206 (wisent-raw-tag 205 (wisent-raw-tag
207 (semantic-tag $1 'put-name)))) 206 (semantic-tag $1 'put-name))))
208 (put_name 207 (put_name
209 ((SYMBOL)) 208 ((SYMBOL))
210 ((token_type))) 209 ((token_type)))
211 (put_value_list 210 (put_value_list
212 ((BRACE_BLOCK) 211 ((BRACE_BLOCK)
213 (mapcar 'semantic-tag-code-detail 212 (mapcar 'semantic-tag-code-detail
214 (semantic-parse-region 213 (semantic-parse-region
215 (car $region1) 214 (car $region1)
216 (cdr $region1) 215 (cdr $region1)
217 'put_values 1)))) 216 'put_values 1))))
218 (put_values 217 (put_values
219 ((LBRACE) 218 ((LBRACE)
220 nil) 219 nil)
221 ((RBRACE) 220 ((RBRACE)
222 nil) 221 nil)
223 ((put_value) 222 ((put_value)
224 (wisent-raw-tag 223 (wisent-raw-tag
225 (semantic-tag-new-code "put-value" $1)))) 224 (semantic-tag-new-code "put-value" $1))))
226 (put_value 225 (put_value
227 ((SYMBOL any_value) 226 ((SYMBOL any_value)
228 (cons $1 $2))) 227 (cons $1 $2)))
229 (scopestart_decl 228 (scopestart_decl
230 ((SCOPESTART SYMBOL) 229 ((SCOPESTART SYMBOL)
231 `(wisent-raw-tag 230 `(wisent-raw-tag
232 (semantic-tag ',$2 'scopestart)))) 231 (semantic-tag ',$2 'scopestart))))
233 (quotemode_decl 232 (quotemode_decl
234 ((QUOTEMODE SYMBOL) 233 ((QUOTEMODE SYMBOL)
235 `(wisent-raw-tag 234 `(wisent-raw-tag
236 (semantic-tag ',$2 'quotemode)))) 235 (semantic-tag ',$2 'quotemode))))
237 (start_decl 236 (start_decl
238 ((START symbols) 237 ((START symbols)
239 `(wisent-raw-tag 238 `(wisent-raw-tag
240 (semantic-tag ',(car $2) 239 (semantic-tag ',(car $2)
241 'start :rest ',(cdr $2))))) 240 'start :rest ',(cdr $2)))))
242 (keyword_decl 241 (keyword_decl
243 ((KEYWORD SYMBOL string_value) 242 ((KEYWORD SYMBOL string_value)
244 `(wisent-raw-tag 243 `(wisent-raw-tag
245 (semantic-tag ',$2 'keyword :value ',$3)))) 244 (semantic-tag ',$2 'keyword :value ',$3))))
246 (token_decl 245 (token_decl
247 ((TOKEN token_type_opt SYMBOL string_value) 246 ((TOKEN token_type_opt SYMBOL string_value)
248 `(wisent-raw-tag 247 `(wisent-raw-tag
249 (semantic-tag ',$3 ',(if $2 'token 'keyword) 248 (semantic-tag ',$3 ',(if $2 'token 'keyword)
250 :type ',$2 :value ',$4))) 249 :type ',$2 :value ',$4)))
251 ((TOKEN token_type_opt symbols) 250 ((TOKEN token_type_opt symbols)
252 `(wisent-raw-tag 251 `(wisent-raw-tag
253 (semantic-tag ',(car $3) 252 (semantic-tag ',(car $3)
254 'token :type ',$2 :rest ',(cdr $3))))) 253 'token :type ',$2 :rest ',(cdr $3)))))
255 (token_type_opt 254 (token_type_opt
256 (nil) 255 (nil)
257 ((token_type))) 256 ((token_type)))
258 (token_type 257 (token_type
259 ((LT SYMBOL GT) 258 ((LT SYMBOL GT)
260 (progn $2))) 259 (progn $2)))
261 (type_decl 260 (type_decl
262 ((TYPE token_type plist_opt) 261 ((TYPE token_type plist_opt)
263 `(wisent-raw-tag 262 `(wisent-raw-tag
264 (semantic-tag ',$2 'type :value ',$3)))) 263 (semantic-tag ',$2 'type :value ',$3))))
265 (plist_opt 264 (plist_opt
266 (nil) 265 (nil)
267 ((plist))) 266 ((plist)))
268 (plist 267 (plist
269 ((plist put_value) 268 ((plist put_value)
270 (append 269 (append
271 (list $2) 270 (list $2)
272 $1)) 271 $1))
273 ((put_value) 272 ((put_value)
274 (list $1))) 273 (list $1)))
275 (use_name_list 274 (use_name_list
276 ((BRACE_BLOCK) 275 ((BRACE_BLOCK)
277 (mapcar 'semantic-tag-name 276 (mapcar 'semantic-tag-name
278 (semantic-parse-region 277 (semantic-parse-region
279 (car $region1) 278 (car $region1)
280 (cdr $region1) 279 (cdr $region1)
281 'use_names 1)))) 280 'use_names 1))))
282 (use_names 281 (use_names
283 ((LBRACE) 282 ((LBRACE)
284 nil) 283 nil)
285 ((RBRACE) 284 ((RBRACE)
286 nil) 285 nil)
287 ((SYMBOL) 286 ((SYMBOL)
288 (wisent-raw-tag 287 (wisent-raw-tag
289 (semantic-tag $1 'use-name)))) 288 (semantic-tag $1 'use-name))))
290 (use_macros_decl 289 (use_macros_decl
291 ((USE-MACROS SYMBOL use_name_list) 290 ((USE-MACROS SYMBOL use_name_list)
292 `(wisent-raw-tag 291 `(wisent-raw-tag
293 (semantic-tag "macro" 'macro :type ',$2 :value ',$3)))) 292 (semantic-tag "macro" 'macro :type ',$2 :value ',$3))))
294 (string_value 293 (string_value
295 ((STRING) 294 ((STRING)
296 (read $1))) 295 (read $1)))
297 (any_value 296 (any_value
298 ((SYMBOL)) 297 ((SYMBOL))
299 ((STRING)) 298 ((STRING))
300 ((PAREN_BLOCK)) 299 ((PAREN_BLOCK))
301 ((PREFIXED_LIST)) 300 ((PREFIXED_LIST))
302 ((SEXP))) 301 ((SEXP)))
303 (symbols 302 (symbols
304 ((lifo_symbols) 303 ((lifo_symbols)
305 (nreverse $1))) 304 (nreverse $1)))
306 (lifo_symbols 305 (lifo_symbols
307 ((lifo_symbols SYMBOL) 306 ((lifo_symbols SYMBOL)
308 (cons $2 $1)) 307 (cons $2 $1))
309 ((SYMBOL) 308 ((SYMBOL)
310 (list $1))) 309 (list $1)))
311 (nonterminal 310 (nonterminal
312 ((SYMBOL 311 ((SYMBOL
313 (setq semantic-grammar-wy--nterm $1 semantic-grammar-wy--rindx 0) 312 (setq semantic-grammar-wy--nterm $1 semantic-grammar-wy--rindx 0)
314 COLON rules SEMI) 313 COLON rules SEMI)
315 (wisent-raw-tag 314 (wisent-raw-tag
316 (semantic-tag $1 'nonterminal :children $4)))) 315 (semantic-tag $1 'nonterminal :children $4))))
317 (rules 316 (rules
318 ((lifo_rules) 317 ((lifo_rules)
319 (apply 'nconc 318 (apply 'nconc
320 (nreverse $1)))) 319 (nreverse $1))))
321 (lifo_rules 320 (lifo_rules
322 ((lifo_rules OR rule) 321 ((lifo_rules OR rule)
323 (cons $3 $1)) 322 (cons $3 $1))
324 ((rule) 323 ((rule)
325 (list $1))) 324 (list $1)))
326 (rule 325 (rule
327 ((rhs) 326 ((rhs)
328 (let* 327 (let*
329 ((nterm semantic-grammar-wy--nterm) 328 ((nterm semantic-grammar-wy--nterm)
330 (rindx semantic-grammar-wy--rindx) 329 (rindx semantic-grammar-wy--rindx)
331 (rhs $1) 330 (rhs $1)
332 comps prec action elt) 331 comps prec action elt)
333 (setq semantic-grammar-wy--rindx 332 (setq semantic-grammar-wy--rindx
334 (1+ semantic-grammar-wy--rindx)) 333 (1+ semantic-grammar-wy--rindx))
335 (while rhs 334 (while rhs
336 (setq elt 335 (setq elt
337 (car rhs) 336 (car rhs)
338 rhs 337 rhs
339 (cdr rhs)) 338 (cdr rhs))
340 (cond 339 (cond
341 ((vectorp elt) 340 ((vectorp elt)
342 (if prec 341 (if prec
343 (error "Duplicate %%prec in `%s:%d' rule" nterm rindx)) 342 (error "Duplicate %%prec in `%s:%d' rule" nterm rindx))
344 (setq prec 343 (setq prec
345 (aref elt 0))) 344 (aref elt 0)))
346 ((consp elt) 345 ((consp elt)
347 (if 346 (if
348 (or action comps) 347 (or action comps)
349 (setq comps 348 (setq comps
350 (cons elt comps) 349 (cons elt comps)
351 semantic-grammar-wy--rindx 350 semantic-grammar-wy--rindx
352 (1+ semantic-grammar-wy--rindx)) 351 (1+ semantic-grammar-wy--rindx))
353 (setq action 352 (setq action
354 (car elt)))) 353 (car elt))))
355 (t 354 (t
356 (setq comps 355 (setq comps
357 (cons elt comps))))) 356 (cons elt comps)))))
358 (wisent-cook-tag 357 (wisent-cook-tag
359 (wisent-raw-tag 358 (wisent-raw-tag
360 (semantic-tag 359 (semantic-tag
361 (format "%s:%d" nterm rindx) 360 (format "%s:%d" nterm rindx)
362 'rule :type 361 'rule :type
363 (if comps "group" "empty") 362 (if comps "group" "empty")
364 :value comps :prec prec :expr action)))))) 363 :value comps :prec prec :expr action))))))
365 (rhs 364 (rhs
366 (nil) 365 (nil)
367 ((rhs item) 366 ((rhs item)
368 (cons $2 $1)) 367 (cons $2 $1))
369 ((rhs action) 368 ((rhs action)
370 (cons 369 (cons
371 (list $2) 370 (list $2)
372 $1)) 371 $1))
373 ((rhs PREC item) 372 ((rhs PREC item)
374 (cons 373 (cons
375 (vector $3) 374 (vector $3)
376 $1))) 375 $1)))
377 (action 376 (action
378 ((PAREN_BLOCK)) 377 ((PAREN_BLOCK))
379 ((PREFIXED_LIST)) 378 ((PREFIXED_LIST))
380 ((BRACE_BLOCK) 379 ((BRACE_BLOCK)
381 (format "(progn\n%s)" 380 (format "(progn\n%s)"
382 (let 381 (let
383 ((s $1)) 382 ((s $1))
384 (if 383 (if
385 (string-match "^{[ \n ]*" s) 384 (string-match "^{[ \n ]*" s)
386 (setq s 385 (setq s
387 (substring s 386 (substring s
388 (match-end 0)))) 387 (match-end 0))))
389 (if 388 (if
390 (string-match "[ \n ]*}$" s) 389 (string-match "[ \n ]*}$" s)
391 (setq s 390 (setq s
392 (substring s 0 391 (substring s 0
393 (match-beginning 0)))) 392 (match-beginning 0))))
394 s)))) 393 s))))
395 (items 394 (items
396 ((lifo_items) 395 ((lifo_items)
397 (nreverse $1))) 396 (nreverse $1)))
398 (lifo_items 397 (lifo_items
399 ((lifo_items item) 398 ((lifo_items item)
400 (cons $2 $1)) 399 (cons $2 $1))
401 ((item) 400 ((item)
402 (list $1))) 401 (list $1)))
403 (item 402 (item
404 ((SYMBOL)) 403 ((SYMBOL))
405 ((CHARACTER)))) 404 ((CHARACTER))))
406 '(grammar prologue epilogue declaration nonterminal rule put_names put_values use_names))) 405 '(grammar prologue epilogue declaration nonterminal rule put_names put_values use_names)))
407 "Parser table.") 406 "Parser table.")
408 407
@@ -411,10 +410,10 @@
411 (semantic-install-function-overrides 410 (semantic-install-function-overrides
412 '((parse-stream . wisent-parse-stream))) 411 '((parse-stream . wisent-parse-stream)))
413 (setq semantic-parser-name "LALR" 412 (setq semantic-parser-name "LALR"
414 semantic--parse-table semantic-grammar-wy--parse-table 413 semantic--parse-table semantic-grammar-wy--parse-table
415 semantic-debug-parser-source "semantic-grammar.wy" 414 semantic-debug-parser-source "semantic-grammar.wy"
416 semantic-flex-keywords-obarray semantic-grammar-wy--keyword-table 415 semantic-flex-keywords-obarray semantic-grammar-wy--keyword-table
417 semantic-lex-types-obarray semantic-grammar-wy--token-table) 416 semantic-lex-types-obarray semantic-grammar-wy--token-table)
418 ;; Collect unmatched syntax lexical tokens 417 ;; Collect unmatched syntax lexical tokens
419 (semantic-make-local-hook 'wisent-discarding-token-functions) 418 (semantic-make-local-hook 'wisent-discarding-token-functions)
420 (add-hook 'wisent-discarding-token-functions 419 (add-hook 'wisent-discarding-token-functions
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el
index 1d1184e534f..98b1ab55c32 100644
--- a/lisp/cedet/semantic/grammar.el
+++ b/lisp/cedet/semantic/grammar.el
@@ -104,10 +104,10 @@ It ignores whitespaces, newlines and comments."
104 ;; regexp match semicolons inside strings! 104 ;; regexp match semicolons inside strings!
105 semantic-lex-ignore-comments 105 semantic-lex-ignore-comments
106 ;; Must detect prefixed list before punctuation because prefix chars 106 ;; Must detect prefixed list before punctuation because prefix chars
107 ;; are also punctuations! 107 ;; are also punctuation!
108 semantic-grammar-wy--<qlist>-sexp-analyzer 108 semantic-grammar-wy--<qlist>-sexp-analyzer
109 ;; Must detect punctuations after comments because the semicolon can 109 ;; Must detect punctuation after comments because the semicolon can
110 ;; be a punctuation or a comment start! 110 ;; be punctuation or a comment start!
111 semantic-grammar-wy--<punctuation>-string-analyzer 111 semantic-grammar-wy--<punctuation>-string-analyzer
112 semantic-grammar-wy--<block>-block-analyzer 112 semantic-grammar-wy--<block>-block-analyzer
113 semantic-grammar-wy--<sexp>-sexp-analyzer) 113 semantic-grammar-wy--<sexp>-sexp-analyzer)
diff --git a/lisp/cedet/semantic/html.el b/lisp/cedet/semantic/html.el
index 137759d46ac..a7d150ec4a9 100644
--- a/lisp/cedet/semantic/html.el
+++ b/lisp/cedet/semantic/html.el
@@ -126,7 +126,7 @@ html parser. PNT is the new point to set."
126NAME is the name of this section. 126NAME is the name of this section.
127MEMBERS is a list of semantic tags representing the elements that make 127MEMBERS is a list of semantic tags representing the elements that make
128up this section. 128up this section.
129LEVEL is the levelling level. 129LEVEL is the leveling level.
130START and END define the location of data described by the tag." 130START and END define the location of data described by the tag."
131 (let ((anchorp (eq level 11))) 131 (let ((anchorp (eq level 11)))
132 (append (semantic-tag name 132 (append (semantic-tag name
diff --git a/lisp/cedet/semantic/ia-sb.el b/lisp/cedet/semantic/ia-sb.el
index 95a68673b8c..edd62cc5ca5 100644
--- a/lisp/cedet/semantic/ia-sb.el
+++ b/lisp/cedet/semantic/ia-sb.el
@@ -348,7 +348,7 @@ TEXT TAG and INDENT are the details."
348 (insert (semantic-tag-name tag)) 348 (insert (semantic-tag-name tag))
349 (if movepoint (setq movepoint (point))) 349 (if movepoint (setq movepoint (point)))
350 ;; I'd like to use this to add fancy () or what not at the end 350 ;; I'd like to use this to add fancy () or what not at the end
351 ;; but we need the parent file whih requires an upgrade to the 351 ;; but we need the parent file which requires an upgrade to the
352 ;; analysis tool. 352 ;; analysis tool.
353 ;;(semantic-insert-foreign-tag tag ??)) 353 ;;(semantic-insert-foreign-tag tag ??))
354 ) 354 )
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index b49d1db1ad5..4b3a51e79f7 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -245,7 +245,7 @@ And also manages services that depend on tag values."
245 ;; services. Stop on keypress. 245 ;; services. Stop on keypress.
246 246
247 ;; NOTE ON COMMENTED SAFE HERE 247 ;; NOTE ON COMMENTED SAFE HERE
248 ;; We used to not execute the services if the buffer wsa 248 ;; We used to not execute the services if the buffer was
249 ;; unparseable. We now assume that they are lexically 249 ;; unparseable. We now assume that they are lexically
250 ;; safe to do, because we have marked the buffer unparseable 250 ;; safe to do, because we have marked the buffer unparseable
251 ;; if there was a problem. 251 ;; if there was a problem.
@@ -254,11 +254,11 @@ And also manages services that depend on tag values."
254 (save-excursion 254 (save-excursion
255 (semantic-throw-on-input 'idle-queue) 255 (semantic-throw-on-input 'idle-queue)
256 (when semantic-idle-scheduler-verbose-flag 256 (when semantic-idle-scheduler-verbose-flag
257 (message "IDLE: execture service %s..." service)) 257 (message "IDLE: execute service %s..." service))
258 (semantic-safe (format "Idle Service Error %s: %%S" service) 258 (semantic-safe (format "Idle Service Error %s: %%S" service)
259 (funcall service)) 259 (funcall service))
260 (when semantic-idle-scheduler-verbose-flag 260 (when semantic-idle-scheduler-verbose-flag
261 (message "IDLE: execture service %s...done" service)) 261 (message "IDLE: execute service %s...done" service))
262 ))) 262 )))
263 ;;) 263 ;;)
264 ;; Finally loop over remaining buffers, trying to update them as 264 ;; Finally loop over remaining buffers, trying to update them as
@@ -515,7 +515,7 @@ Does nothing if the current buffer doesn't need reparsing."
515 (save-excursion (semantic-fetch-tags)) 515 (save-excursion (semantic-fetch-tags))
516 nil) 516 nil)
517 ;; If we are here, it is because the lexical step failed, 517 ;; If we are here, it is because the lexical step failed,
518 ;; proably due to unterminated lists or something like that. 518 ;; probably due to unterminated lists or something like that.
519 519
520 ;; We do nothing, and just wait for the next idle timer 520 ;; We do nothing, and just wait for the next idle timer
521 ;; to go off. In the meantime, remember this, and make sure 521 ;; to go off. In the meantime, remember this, and make sure
diff --git a/lisp/cedet/semantic/imenu.el b/lisp/cedet/semantic/imenu.el
index 033c34e1b83..7566c08f13a 100644
--- a/lisp/cedet/semantic/imenu.el
+++ b/lisp/cedet/semantic/imenu.el
@@ -368,7 +368,7 @@ Optional argument PARENT is a tag parent of STREAM."
368 semantic-imenu-expandable-tag-classes) 368 semantic-imenu-expandable-tag-classes)
369 children 369 children
370 ) 370 )
371 ;; to keep an homogeneous menu organisation, type menu items 371 ;; to keep an homogeneous menu organization, type menu items
372 ;; always have a sub-menu with at least the *definition* 372 ;; always have a sub-menu with at least the *definition*
373 ;; item (even if the tag has no type components) 373 ;; item (even if the tag has no type components)
374 (progn 374 (progn
diff --git a/lisp/cedet/semantic/lex-spp.el b/lisp/cedet/semantic/lex-spp.el
index 8009a257a7b..cf82da303ce 100644
--- a/lisp/cedet/semantic/lex-spp.el
+++ b/lisp/cedet/semantic/lex-spp.el
@@ -452,7 +452,7 @@ continue processing recursively."
452 ;; If val is nil, that's probably wrong. 452 ;; If val is nil, that's probably wrong.
453 ;; Found a system header case where this was true. 453 ;; Found a system header case where this was true.
454 ((null val) "") 454 ((null val) "")
455 ;; Debug wierd stuff. 455 ;; Debug weird stuff.
456 (t (debug))) 456 (t (debug)))
457 )) 457 ))
458 ((stringp txt) 458 ((stringp txt)
@@ -821,7 +821,7 @@ STR occurs in the current buffer between BEG and END."
821;; a macro. 821;; a macro.
822 822
823(defun semantic-lex-spp-first-token-arg-list (token) 823(defun semantic-lex-spp-first-token-arg-list (token)
824 "If TOKEN is a semantic-list, turn it into a an SPP ARG LIST." 824 "If TOKEN is a semantic-list, turn it into an SPP ARG LIST."
825 (when (and (consp token) 825 (when (and (consp token)
826 (symbolp (car token)) 826 (symbolp (car token))
827 (eq 'semantic-list (car token))) 827 (eq 'semantic-list (car token)))
@@ -1067,7 +1067,7 @@ of type `spp-macro-undef' is to be created."
1067;; 1067;;
1068;; These analyzers help a language define how include files 1068;; These analyzers help a language define how include files
1069;; are identified. These are ONLY for languages that perform 1069;; are identified. These are ONLY for languages that perform
1070;; an actual textual includesion, and not for imports. 1070;; an actual textual inclusion, and not for imports.
1071;; 1071;;
1072;; This section is supposed to allow the macros from the headers to be 1072;; This section is supposed to allow the macros from the headers to be
1073;; added to the local dynamic macro table, but that hasn't been 1073;; added to the local dynamic macro table, but that hasn't been
diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el
index 4da3be98f37..dab5c444fae 100644
--- a/lisp/cedet/semantic/lex.el
+++ b/lisp/cedet/semantic/lex.el
@@ -165,7 +165,7 @@
165;; 165;;
166;; %type <punctuation> syntax "\\(\\s.\\|\\s$\\|\\s'\\)+" matchdatatype string 166;; %type <punctuation> syntax "\\(\\s.\\|\\s$\\|\\s'\\)+" matchdatatype string
167;; 167;;
168;; ;; Some punctuations based on the type defines above 168;; ;; Some punctuation based on the type defines above
169;; 169;;
170;; %token <punctuation> NOT "!" 170;; %token <punctuation> NOT "!"
171;; %token <punctuation> NOTEQ "!=" 171;; %token <punctuation> NOTEQ "!="
@@ -1248,7 +1248,7 @@ they are comment end characters) AND when you want whitespace tokens."
1248 (if (eq (semantic-lex-token-class (car semantic-lex-token-stream)) 1248 (if (eq (semantic-lex-token-class (car semantic-lex-token-stream))
1249 'whitespace) 1249 'whitespace)
1250 ;; Merge whitespace tokens together if they are adjacent. Two 1250 ;; Merge whitespace tokens together if they are adjacent. Two
1251 ;; whitespace tokens may be sperated by a comment which is not in 1251 ;; whitespace tokens may be separated by a comment which is not in
1252 ;; the token stream. 1252 ;; the token stream.
1253 (setcdr (semantic-lex-token-bounds (car semantic-lex-token-stream)) 1253 (setcdr (semantic-lex-token-bounds (car semantic-lex-token-stream))
1254 (match-end 0)) 1254 (match-end 0))
@@ -1271,7 +1271,7 @@ they are comment end characters)."
1271 (if (eq (semantic-lex-token-class (car semantic-lex-token-stream)) 1271 (if (eq (semantic-lex-token-class (car semantic-lex-token-stream))
1272 'whitespace) 1272 'whitespace)
1273 ;; Merge whitespace tokens together if they are adjacent. Two 1273 ;; Merge whitespace tokens together if they are adjacent. Two
1274 ;; whitespace tokens may be sperated by a comment which is not in 1274 ;; whitespace tokens may be separated by a comment which is not in
1275 ;; the token stream. 1275 ;; the token stream.
1276 (progn 1276 (progn
1277 (setq semantic-lex-end-point (match-end 0)) 1277 (setq semantic-lex-end-point (match-end 0))
@@ -1313,7 +1313,7 @@ and number formats."
1313 1313
1314(define-lex-analyzer semantic-lex-punctuation-type 1314(define-lex-analyzer semantic-lex-punctuation-type
1315 "Detect and create a punctuation type token. 1315 "Detect and create a punctuation type token.
1316Recognized punctuations are defined in the current table of lexical 1316Recognized punctuation is defined in the current table of lexical
1317types, as the value of the `punctuation' token type." 1317types, as the value of the `punctuation' token type."
1318 (and (looking-at "\\(\\s.\\|\\s$\\|\\s'\\)+") 1318 (and (looking-at "\\(\\s.\\|\\s$\\|\\s'\\)+")
1319 (let* ((key (match-string 0)) 1319 (let* ((key (match-string 0))
@@ -1362,11 +1362,11 @@ Return either a paren token or a semantic list token depending on
1362 )) 1362 ))
1363 1363
1364(define-lex-simple-regex-analyzer semantic-lex-open-paren 1364(define-lex-simple-regex-analyzer semantic-lex-open-paren
1365 "Detect and create an open parenthisis token." 1365 "Detect and create an open parenthesis token."
1366 "\\s(" 'open-paren 0 (setq semantic-lex-current-depth (1+ semantic-lex-current-depth))) 1366 "\\s(" 'open-paren 0 (setq semantic-lex-current-depth (1+ semantic-lex-current-depth)))
1367 1367
1368(define-lex-simple-regex-analyzer semantic-lex-close-paren 1368(define-lex-simple-regex-analyzer semantic-lex-close-paren
1369 "Detect and create a close paren token." 1369 "Detect and create a close parenthesis token."
1370 "\\s)" 'close-paren 0 (setq semantic-lex-current-depth (1- semantic-lex-current-depth))) 1370 "\\s)" 'close-paren 0 (setq semantic-lex-current-depth (1- semantic-lex-current-depth)))
1371 1371
1372(define-lex-regex-analyzer semantic-lex-string 1372(define-lex-regex-analyzer semantic-lex-string
diff --git a/lisp/cedet/semantic/sb.el b/lisp/cedet/semantic/sb.el
index d9a3ede360d..8c3d6c17cf4 100644
--- a/lisp/cedet/semantic/sb.el
+++ b/lisp/cedet/semantic/sb.el
@@ -87,7 +87,7 @@ Restore the old current buffer when completed."
87;; @ type 87;; @ type
88;; = default value 88;; = default value
89;; 89;;
90;; +> keywrd Type 90;; +> keyword Type
91;; +> type part 91;; +> type part
92;; 92;;
93;; +> -> click to see additional information 93;; +> -> click to see additional information
diff --git a/lisp/cedet/semantic/scope.el b/lisp/cedet/semantic/scope.el
index 16deb245527..ea4903c70ea 100644
--- a/lisp/cedet/semantic/scope.el
+++ b/lisp/cedet/semantic/scope.el
@@ -303,7 +303,7 @@ are from nesting data types."
303 (miniscope (semantic-scope-cache "mini")) 303 (miniscope (semantic-scope-cache "mini"))
304 ptag) 304 ptag)
305 305
306 ;; Find the next entry in the refereneced type for 306 ;; Find the next entry in the referenced type for
307 ;; our function, and append to return list till our 307 ;; our function, and append to return list till our
308 ;; returnlist is empty. 308 ;; returnlist is empty.
309 (while snlist 309 (while snlist
diff --git a/lisp/cedet/semantic/senator.el b/lisp/cedet/semantic/senator.el
index 5399d4d5649..b4618d1c18f 100644
--- a/lisp/cedet/semantic/senator.el
+++ b/lisp/cedet/semantic/senator.el
@@ -179,8 +179,8 @@ source."
179 (goto-char (semantic-tag-start tag)) 179 (goto-char (semantic-tag-start tag))
180 (when (re-search-forward (concat 180 (when (re-search-forward (concat
181 ;; The tag name is expected to be 181 ;; The tag name is expected to be
182 ;; between word delimiters, whitespaces, 182 ;; between word delimiters, whitespace,
183 ;; or punctuations. 183 ;; or punctuation.
184 "\\(\\<\\|\\s-+\\|\\s.\\)" 184 "\\(\\<\\|\\s-+\\|\\s.\\)"
185 (regexp-quote name) 185 (regexp-quote name)
186 "\\(\\>\\|\\s-+\\|\\s.\\)") 186 "\\(\\>\\|\\s-+\\|\\s.\\)")
diff --git a/lisp/cedet/semantic/sort.el b/lisp/cedet/semantic/sort.el
index c3d8b26810c..a4126e1384b 100644
--- a/lisp/cedet/semantic/sort.el
+++ b/lisp/cedet/semantic/sort.el
@@ -229,7 +229,7 @@ unmodified as components of their parent tags."
229 (mapc (lambda (tag) 229 (mapc (lambda (tag)
230 (let ((components (semantic-tag-components tag))) 230 (let ((components (semantic-tag-components tag)))
231 (if (and components 231 (if (and components
232 ;; unpositined tags can be hazardous to 232 ;; unpositioned tags can be hazardous to
233 ;; completion. Do we need any type of tag 233 ;; completion. Do we need any type of tag
234 ;; here? - EL 234 ;; here? - EL
235 (semantic-tag-with-position-p (car components))) 235 (semantic-tag-with-position-p (car components)))
diff --git a/lisp/cedet/semantic/symref.el b/lisp/cedet/semantic/symref.el
index 61006802c0d..cbae9f85573 100644
--- a/lisp/cedet/semantic/symref.el
+++ b/lisp/cedet/semantic/symref.el
@@ -324,7 +324,7 @@ Use the `semantic-symref-hit-tags' method to get this list.")
324 (setq ans (list (car files)) 324 (setq ans (list (car files))
325 files (cdr files)) 325 files (cdr files))
326 (dolist (F files) 326 (dolist (F files)
327 ;; This algorithm for uniqing the file list depends on the 327 ;; This algorithm for uniquifying the file list depends on the
328 ;; tool in question providing all the hits in the same file 328 ;; tool in question providing all the hits in the same file
329 ;; grouped together. 329 ;; grouped together.
330 (when (not (string= F (car ans))) 330 (when (not (string= F (car ans)))
diff --git a/lisp/cedet/semantic/symref/list.el b/lisp/cedet/semantic/symref/list.el
index a09928c7dfc..53422541c47 100644
--- a/lisp/cedet/semantic/symref/list.el
+++ b/lisp/cedet/semantic/symref/list.el
@@ -24,7 +24,7 @@
24;; Provide a simple user facing API to finding symbol references. 24;; Provide a simple user facing API to finding symbol references.
25;; 25;;
26;; This UI is the base of some refactoring tools. For any refactor, 26;; This UI is the base of some refactoring tools. For any refactor,
27;; the user will execture [FIXME what?] `semantic-symref' in a tag. 27;; the user will execute `semantic-symref' in a tag.
28;; Once that data is collected, the output will be listed in a buffer. 28;; Once that data is collected, the output will be listed in a buffer.
29;; In the output buffer, the user can then initiate different 29;; In the output buffer, the user can then initiate different
30;; refactoring operations. 30;; refactoring operations.
@@ -103,7 +103,7 @@ Display the references in`semantic-symref-results-mode'."
103 (when (not res) (error "No references found")) 103 (when (not res) (error "No references found"))
104 (semantic-symref-result-get-tags res t) 104 (semantic-symref-result-get-tags res t)
105 (message "Gathering References...done") 105 (message "Gathering References...done")
106 ;; Build a refrences buffer. 106 ;; Build a references buffer.
107 (let ((buff (get-buffer-create 107 (let ((buff (get-buffer-create
108 (format "*Symref %s" str))) 108 (format "*Symref %s" str)))
109 ) 109 )
@@ -401,7 +401,7 @@ BUTTON is the button that was clicked."
401 401
402;;; UTILS 402;;; UTILS
403;; 403;;
404;; List mode utils for understadning the current line 404;; List mode utils for understanding the current line
405 405
406(defun semantic-symref-list-on-hit-p () 406(defun semantic-symref-list-on-hit-p ()
407 "Return the line number if the cursor is on a buffer line with a hit. 407 "Return the line number if the cursor is on a buffer line with a hit.
diff --git a/lisp/cedet/semantic/tag-file.el b/lisp/cedet/semantic/tag-file.el
index d118d9b6203..86fa382a766 100644
--- a/lisp/cedet/semantic/tag-file.el
+++ b/lisp/cedet/semantic/tag-file.el
@@ -125,7 +125,7 @@ Depends on `semantic-dependency-include-path' for searching. Always searches
125 (tag-fname nil)) 125 (tag-fname nil))
126 (cond ((semantic-tag-in-buffer-p tag) 126 (cond ((semantic-tag-in-buffer-p tag)
127 ;; If the tag has an overlay and buffer associated with it, 127 ;; If the tag has an overlay and buffer associated with it,
128 ;; switch to that buffer so that we get the right override metohds. 128 ;; switch to that buffer so that we get the right override methods.
129 (set-buffer (semantic-tag-buffer tag))) 129 (set-buffer (semantic-tag-buffer tag)))
130 ((semantic-tag-file-name tag) 130 ((semantic-tag-file-name tag)
131 ;; If it didn't have a buffer, but does have a file 131 ;; If it didn't have a buffer, but does have a file
diff --git a/lisp/cedet/semantic/tag-ls.el b/lisp/cedet/semantic/tag-ls.el
index 4d001322108..2f585cbdf45 100644
--- a/lisp/cedet/semantic/tag-ls.el
+++ b/lisp/cedet/semantic/tag-ls.el
@@ -195,7 +195,7 @@ See `semantic-tag-static-p'."
195;;;###autoload 195;;;###autoload
196(define-overloadable-function semantic-tag-prototype-p (tag) 196(define-overloadable-function semantic-tag-prototype-p (tag)
197 "Return non nil if TAG is a prototype. 197 "Return non nil if TAG is a prototype.
198For some laguages, such as C, a prototype is a declaration of 198For some languages, such as C, a prototype is a declaration of
199something without an implementation." 199something without an implementation."
200 ) 200 )
201 201
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el
index cf3f5b603c8..f8538ef7901 100644
--- a/lisp/cedet/semantic/tag.el
+++ b/lisp/cedet/semantic/tag.el
@@ -919,7 +919,7 @@ That is the value of the attribute `:system-flag'."
919 "Return a filename representation of TAG. 919 "Return a filename representation of TAG.
920The default action is to return the `semantic-tag-name'. 920The default action is to return the `semantic-tag-name'.
921Some languages do not use full filenames in their include statements. 921Some languages do not use full filenames in their include statements.
922Override this method to translate the code represenation 922Override this method to translate the code representation
923into a filename. (A relative filename if necessary.) 923into a filename. (A relative filename if necessary.)
924 924
925See `semantic-dependency-tag-file' to expand an include 925See `semantic-dependency-tag-file' to expand an include
@@ -1162,7 +1162,7 @@ This function is for internal use only."
1162 (semantic-tag-components-with-overlays tag))))) 1162 (semantic-tag-components-with-overlays tag)))))
1163 1163
1164(defun semantic--tag-unlink-cache-from-buffer () 1164(defun semantic--tag-unlink-cache-from-buffer ()
1165 "Convert all tags in the current cache to use overlay proxys. 1165 "Convert all tags in the current cache to use overlay proxies.
1166This function is for internal use only." 1166This function is for internal use only."
1167 (require 'semantic) 1167 (require 'semantic)
1168 (semantic--tag-unlink-list-from-buffer 1168 (semantic--tag-unlink-list-from-buffer
diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el
index c2f080ce75b..78d5569c2a7 100644
--- a/lisp/cedet/semantic/texi.el
+++ b/lisp/cedet/semantic/texi.el
@@ -262,7 +262,7 @@ can handle the @menu environment.")
262 (let ((parenthetical (semantic-up-context-default)) 262 (let ((parenthetical (semantic-up-context-default))
263 ) 263 )
264 (when (not parenthetical) 264 (when (not parenthetical)
265 ;; We are in parenthises. Are they the types of parens 265 ;; We are in parentheses. Are they the types of parens
266 ;; belonging to a texinfo construct? 266 ;; belonging to a texinfo construct?
267 (forward-word -1) 267 (forward-word -1)
268 (when (looking-at "@\\w+{") 268 (when (looking-at "@\\w+{")
@@ -483,7 +483,7 @@ that start with that symbol."
483;; This section provides specialized access into texinfo files. 483;; This section provides specialized access into texinfo files.
484;; Because texinfo files often directly refer to functions and programs 484;; Because texinfo files often directly refer to functions and programs
485;; it is useful to access the texinfo file from the C code for document 485;; it is useful to access the texinfo file from the C code for document
486;; maintainance. 486;; maintenance.
487(defun semantic-texi-associated-files (&optional buffer) 487(defun semantic-texi-associated-files (&optional buffer)
488 "Find texinfo files associated with BUFFER." 488 "Find texinfo files associated with BUFFER."
489 (save-excursion 489 (save-excursion
diff --git a/lisp/cedet/semantic/wisent/javat-wy.el b/lisp/cedet/semantic/wisent/javat-wy.el
index 38c19387440..562b0da6caa 100644
--- a/lisp/cedet/semantic/wisent/javat-wy.el
+++ b/lisp/cedet/semantic/wisent/javat-wy.el
@@ -19,12 +19,11 @@
19 19
20;;; Commentary: 20;;; Commentary:
21;; 21;;
22;; This file was generated from etc/java-tags.wy. 22;; This file was generated from admin/grammars/java-tags.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;;
@@ -396,7 +395,7 @@
396 ((SEMICOLON)) 395 ((SEMICOLON))
397 ((block))) 396 ((block)))
398 (block 397 (block
399 ((BRACE_BLOCK))) 398 ((BRACE_BLOCK)))
400 (formal_parameter_list 399 (formal_parameter_list
401 ((PAREN_BLOCK) 400 ((PAREN_BLOCK)
402 (semantic-parse-region 401 (semantic-parse-region
@@ -557,7 +556,7 @@
557 '((parse-stream . wisent-parse-stream))) 556 '((parse-stream . wisent-parse-stream)))
558 (setq semantic-parser-name "LALR" 557 (setq semantic-parser-name "LALR"
559 semantic--parse-table wisent-java-tags-wy--parse-table 558 semantic--parse-table wisent-java-tags-wy--parse-table
560 semantic-debug-parser-source "wisent-java-tags.wy" 559 semantic-debug-parser-source "java-tags.wy"
561 semantic-flex-keywords-obarray wisent-java-tags-wy--keyword-table 560 semantic-flex-keywords-obarray wisent-java-tags-wy--keyword-table
562 semantic-lex-types-obarray wisent-java-tags-wy--token-table) 561 semantic-lex-types-obarray wisent-java-tags-wy--token-table)
563 ;; Collect unmatched syntax lexical tokens 562 ;; Collect unmatched syntax lexical tokens
@@ -567,10 +566,6 @@
567 566
568 567
569;;; Analyzers 568;;; Analyzers
570;;
571(define-lex-keyword-type-analyzer wisent-java-tags-wy--<keyword>-keyword-analyzer
572 "keyword analyzer for <keyword> tokens."
573 "\\(\\sw\\|\\s_\\)+")
574 569
575(define-lex-block-type-analyzer wisent-java-tags-wy--<block>-block-analyzer 570(define-lex-block-type-analyzer wisent-java-tags-wy--<block>-block-analyzer
576 "block analyzer for <block> tokens." 571 "block analyzer for <block> tokens."
@@ -583,23 +578,6 @@
583 ("]" RBRACK)) 578 ("]" RBRACK))
584 ) 579 )
585 580
586(define-lex-regex-type-analyzer wisent-java-tags-wy--<symbol>-regexp-analyzer
587 "regexp analyzer for <symbol> tokens."
588 "\\(\\sw\\|\\s_\\)+"
589 nil
590 'IDENTIFIER)
591
592(define-lex-sexp-type-analyzer wisent-java-tags-wy--<string>-sexp-analyzer
593 "sexp analyzer for <string> tokens."
594 "\\s\""
595 'STRING_LITERAL)
596
597(define-lex-regex-type-analyzer wisent-java-tags-wy--<number>-regexp-analyzer
598 "regexp analyzer for <number> tokens."
599 semantic-lex-number-expression
600 nil
601 'NUMBER_LITERAL)
602
603(define-lex-string-type-analyzer wisent-java-tags-wy--<punctuation>-string-analyzer 581(define-lex-string-type-analyzer wisent-java-tags-wy--<punctuation>-string-analyzer
604 "string analyzer for <punctuation> tokens." 582 "string analyzer for <punctuation> tokens."
605 "\\(\\s.\\|\\s$\\|\\s'\\)+" 583 "\\(\\s.\\|\\s$\\|\\s'\\)+"
@@ -645,12 +623,33 @@
645 (NOT . "!")) 623 (NOT . "!"))
646 'punctuation) 624 'punctuation)
647 625
626(define-lex-regex-type-analyzer wisent-java-tags-wy--<symbol>-regexp-analyzer
627 "regexp analyzer for <symbol> tokens."
628 "\\(\\sw\\|\\s_\\)+"
629 nil
630 'IDENTIFIER)
631
648(define-lex-regex-type-analyzer wisent-java-tags-wy--<unicode>-regexp-analyzer 632(define-lex-regex-type-analyzer wisent-java-tags-wy--<unicode>-regexp-analyzer
649 "regexp analyzer for <unicode> tokens." 633 "regexp analyzer for <unicode> tokens."
650 "\\\\u[0-9a-f][0-9a-f][0-9a-f][0-9a-f]" 634 "\\\\u[0-9a-f][0-9a-f][0-9a-f][0-9a-f]"
651 nil 635 nil
652 'unicodecharacter) 636 'unicodecharacter)
653 637
638(define-lex-regex-type-analyzer wisent-java-tags-wy--<number>-regexp-analyzer
639 "regexp analyzer for <number> tokens."
640 semantic-lex-number-expression
641 nil
642 'NUMBER_LITERAL)
643
644(define-lex-sexp-type-analyzer wisent-java-tags-wy--<string>-sexp-analyzer
645 "sexp analyzer for <string> tokens."
646 "\\s\""
647 'STRING_LITERAL)
648
649(define-lex-keyword-type-analyzer wisent-java-tags-wy--<keyword>-keyword-analyzer
650 "keyword analyzer for <keyword> tokens."
651 "\\(\\sw\\|\\s_\\)+")
652
654 653
655;;; Epilogue 654;;; Epilogue
656;; 655;;
@@ -669,7 +668,7 @@ It ignores whitespaces, newlines and comments."
669 wisent-java-tags-wy--<symbol>-regexp-analyzer 668 wisent-java-tags-wy--<symbol>-regexp-analyzer
670 wisent-java-tags-wy--<punctuation>-string-analyzer 669 wisent-java-tags-wy--<punctuation>-string-analyzer
671 wisent-java-tags-wy--<block>-block-analyzer 670 wisent-java-tags-wy--<block>-block-analyzer
672 ;; In theory, unicode chars should be turned into normal chars 671 ;; In theory, Unicode chars should be turned into normal chars
673 ;; and then combined into regular ascii keywords and text. This 672 ;; and then combined into regular ascii keywords and text. This
674 ;; analyzer just keeps these things from making the lexer go boom. 673 ;; analyzer just keeps these things from making the lexer go boom.
675 wisent-java-tags-wy--<unicode>-regexp-analyzer 674 wisent-java-tags-wy--<unicode>-regexp-analyzer
diff --git a/lisp/cedet/semantic/wisent/js-wy.el b/lisp/cedet/semantic/wisent/js-wy.el
index b523db8771b..c8dded08d1f 100644
--- a/lisp/cedet/semantic/wisent/js-wy.el
+++ b/lisp/cedet/semantic/wisent/js-wy.el
@@ -1,7 +1,7 @@
1;;; semantic/wisent/js-wy.el --- Generated parser support file 1;;; semantic/wisent/js-wy.el --- Generated parser support file
2 2
3;; Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc.
4;; Copyright (C) Ecma International. 4;; Copyright (C) 1998-2011 Ecma International
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
@@ -20,9 +20,45 @@
20 20
21;;; Commentary: 21;;; Commentary:
22;; 22;;
23;; This file was generated from etc/grammars/javascript-jv.wy. 23;; This file was generated from admin/grammars/js.wy.
24
25;; It is derived from the grammar in the ECMAScript Language
26;; Specification published at
27;;
28;; http://www.ecma-international.org/publications/standards/Ecma-262.htm
29;;
30;; and redistributed under the following license:
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.
24 59
25;;; Code: 60;;; Code:
61
26(require 'semantic/lex) 62(require 'semantic/lex)
27 63
28;;; Prologue 64;;; Prologue
@@ -370,7 +406,7 @@
370 '((parse-stream . wisent-parse-stream))) 406 '((parse-stream . wisent-parse-stream)))
371 (setq semantic-parser-name "LALR" 407 (setq semantic-parser-name "LALR"
372 semantic--parse-table wisent-javascript-jv-wy--parse-table 408 semantic--parse-table wisent-javascript-jv-wy--parse-table
373 semantic-debug-parser-source "wisent-javascript-jv.wy" 409 semantic-debug-parser-source "js.wy"
374 semantic-flex-keywords-obarray wisent-javascript-jv-wy--keyword-table 410 semantic-flex-keywords-obarray wisent-javascript-jv-wy--keyword-table
375 semantic-lex-types-obarray wisent-javascript-jv-wy--token-table) 411 semantic-lex-types-obarray wisent-javascript-jv-wy--token-table)
376 ;; Collect unmatched syntax lexical tokens 412 ;; Collect unmatched syntax lexical tokens
@@ -380,38 +416,6 @@
380 416
381 417
382;;; Analyzers 418;;; Analyzers
383;;
384(define-lex-keyword-type-analyzer wisent-javascript-jv-wy--<keyword>-keyword-analyzer
385 "keyword analyzer for <keyword> tokens."
386 "\\(\\sw\\|\\s_\\)+")
387
388(define-lex-block-type-analyzer wisent-javascript-jv-wy--<block>-block-analyzer
389 "block analyzer for <block> tokens."
390 "\\s(\\|\\s)"
391 '((("(" OPEN_PARENTHESIS PAREN_BLOCK)
392 ("{" START_BLOCK BRACE_BLOCK)
393 ("[" OPEN_SQ_BRACKETS BRACK_BLOCK))
394 (")" CLOSE_PARENTHESIS)
395 ("}" END_BLOCK)
396 ("]" CLOSE_SQ_BRACKETS))
397 )
398
399(define-lex-regex-type-analyzer wisent-javascript-jv-wy--<symbol>-regexp-analyzer
400 "regexp analyzer for <symbol> tokens."
401 "\\(\\sw\\|\\s_\\)+"
402 nil
403 'VARIABLE)
404
405(define-lex-sexp-type-analyzer wisent-javascript-jv-wy--<string>-sexp-analyzer
406 "sexp analyzer for <string> tokens."
407 "\\s\""
408 'STRING)
409
410(define-lex-regex-type-analyzer wisent-javascript-jv-wy--<number>-regexp-analyzer
411 "regexp analyzer for <number> tokens."
412 semantic-lex-number-expression
413 nil
414 'NUMBER)
415 419
416(define-lex-string-type-analyzer wisent-javascript-jv-wy--<punctuation>-string-analyzer 420(define-lex-string-type-analyzer wisent-javascript-jv-wy--<punctuation>-string-analyzer
417 "string analyzer for <punctuation> tokens." 421 "string analyzer for <punctuation> tokens."
@@ -458,6 +462,38 @@
458 (ASSIGN_SYMBOL . "=")) 462 (ASSIGN_SYMBOL . "="))
459 'punctuation) 463 'punctuation)
460 464
465(define-lex-block-type-analyzer wisent-javascript-jv-wy--<block>-block-analyzer
466 "block analyzer for <block> tokens."
467 "\\s(\\|\\s)"
468 '((("(" OPEN_PARENTHESIS PAREN_BLOCK)
469 ("{" START_BLOCK BRACE_BLOCK)
470 ("[" OPEN_SQ_BRACKETS BRACK_BLOCK))
471 (")" CLOSE_PARENTHESIS)
472 ("}" END_BLOCK)
473 ("]" CLOSE_SQ_BRACKETS))
474 )
475
476(define-lex-regex-type-analyzer wisent-javascript-jv-wy--<symbol>-regexp-analyzer
477 "regexp analyzer for <symbol> tokens."
478 "\\(\\sw\\|\\s_\\)+"
479 nil
480 'VARIABLE)
481
482(define-lex-regex-type-analyzer wisent-javascript-jv-wy--<number>-regexp-analyzer
483 "regexp analyzer for <number> tokens."
484 semantic-lex-number-expression
485 nil
486 'NUMBER)
487
488(define-lex-sexp-type-analyzer wisent-javascript-jv-wy--<string>-sexp-analyzer
489 "sexp analyzer for <string> tokens."
490 "\\s\""
491 'STRING)
492
493(define-lex-keyword-type-analyzer wisent-javascript-jv-wy--<keyword>-keyword-analyzer
494 "keyword analyzer for <keyword> tokens."
495 "\\(\\sw\\|\\s_\\)+")
496
461 497
462;;; Epilogue 498;;; Epilogue
463;; 499;;
diff --git a/lisp/cedet/semantic/wisent/python-wy.el b/lisp/cedet/semantic/wisent/python-wy.el
index 36965757a14..2445d7162a7 100644
--- a/lisp/cedet/semantic/wisent/python-wy.el
+++ b/lisp/cedet/semantic/wisent/python-wy.el
@@ -20,7 +20,58 @@
20 20
21;;; Commentary: 21;;; Commentary:
22;; 22;;
23;; This file was generated from etc/grammars/python.wy. 23;; This file was generated from admin/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.
71;;
72;; 8. By copying, installing or otherwise using Python, Licensee
73;; agrees to be bound by the terms and conditions of this License
74;; Agreement.
24 75
25;;; Code: 76;;; Code:
26 77
@@ -664,7 +715,7 @@
664 '((parse-stream . wisent-parse-stream))) 715 '((parse-stream . wisent-parse-stream)))
665 (setq semantic-parser-name "LALR" 716 (setq semantic-parser-name "LALR"
666 semantic--parse-table wisent-python-wy--parse-table 717 semantic--parse-table wisent-python-wy--parse-table
667 semantic-debug-parser-source "wisent-python.wy" 718 semantic-debug-parser-source "python.wy"
668 semantic-flex-keywords-obarray wisent-python-wy--keyword-table 719 semantic-flex-keywords-obarray wisent-python-wy--keyword-table
669 semantic-lex-types-obarray wisent-python-wy--token-table) 720 semantic-lex-types-obarray wisent-python-wy--token-table)
670 ;; Collect unmatched syntax lexical tokens 721 ;; Collect unmatched syntax lexical tokens
@@ -675,10 +726,6 @@
675 726
676;;; Analyzers 727;;; Analyzers
677 728
678(define-lex-keyword-type-analyzer wisent-python-wy--<keyword>-keyword-analyzer
679 "keyword analyzer for <keyword> tokens."
680 "\\(\\sw\\|\\s_\\)+")
681
682(define-lex-block-type-analyzer wisent-python-wy--<block>-block-analyzer 729(define-lex-block-type-analyzer wisent-python-wy--<block>-block-analyzer
683 "block analyzer for <block> tokens." 730 "block analyzer for <block> tokens."
684 "\\s(\\|\\s)" 731 "\\s(\\|\\s)"
@@ -690,18 +737,6 @@
690 ("]" RBRACK)) 737 ("]" RBRACK))
691 ) 738 )
692 739
693(define-lex-regex-type-analyzer wisent-python-wy--<symbol>-regexp-analyzer
694 "regexp analyzer for <symbol> tokens."
695 "\\(\\sw\\|\\s_\\)+"
696 nil
697 'NAME)
698
699(define-lex-regex-type-analyzer wisent-python-wy--<number>-regexp-analyzer
700 "regexp analyzer for <number> tokens."
701 semantic-lex-number-expression
702 nil
703 'NUMBER_LITERAL)
704
705(define-lex-string-type-analyzer wisent-python-wy--<punctuation>-string-analyzer 740(define-lex-string-type-analyzer wisent-python-wy--<punctuation>-string-analyzer
706 "string analyzer for <punctuation> tokens." 741 "string analyzer for <punctuation> tokens."
707 "\\(\\s.\\|\\s$\\|\\s'\\)+" 742 "\\(\\s.\\|\\s$\\|\\s'\\)+"
@@ -745,6 +780,22 @@
745 (LTLTEQ . "<<=")) 780 (LTLTEQ . "<<="))
746 'punctuation) 781 'punctuation)
747 782
783(define-lex-regex-type-analyzer wisent-python-wy--<symbol>-regexp-analyzer
784 "regexp analyzer for <symbol> tokens."
785 "\\(\\sw\\|\\s_\\)+"
786 nil
787 'NAME)
788
789(define-lex-regex-type-analyzer wisent-python-wy--<number>-regexp-analyzer
790 "regexp analyzer for <number> tokens."
791 semantic-lex-number-expression
792 nil
793 'NUMBER_LITERAL)
794
795(define-lex-keyword-type-analyzer wisent-python-wy--<keyword>-keyword-analyzer
796 "keyword analyzer for <keyword> tokens."
797 "\\(\\sw\\|\\s_\\)+")
798
748 799
749;;; Epilogue 800;;; Epilogue
750;; 801;;
diff --git a/lisp/cedet/semantic/wisent/python.el b/lisp/cedet/semantic/wisent/python.el
index 1f52e9eb3b6..c73033ce0ac 100644
--- a/lisp/cedet/semantic/wisent/python.el
+++ b/lisp/cedet/semantic/wisent/python.el
@@ -43,7 +43,7 @@
43;; The 'r' prefix means raw, i.e., normal backslash substitutions are 43;; The 'r' prefix means raw, i.e., normal backslash substitutions are
44;; to be suppressed. For example, r"01\n34" is a string with six 44;; to be suppressed. For example, r"01\n34" is a string with six
45;; characters 0, 1, \, n, 3 and 4. The 'u' prefix means the following 45;; characters 0, 1, \, n, 3 and 4. The 'u' prefix means the following
46;; string is a unicode. 46;; string is Unicode.
47(defconst wisent-python-string-re 47(defconst wisent-python-string-re
48 (concat (regexp-opt '("r" "u" "ur" "R" "U" "UR" "Ur" "uR") t) 48 (concat (regexp-opt '("r" "u" "ur" "R" "U" "UR" "Ur" "uR") t)
49 "?['\"]") 49 "?['\"]")
diff --git a/lisp/cedet/srecode/args.el b/lisp/cedet/srecode/args.el
index d8e02f978b2..73445fbf13d 100644
--- a/lisp/cedet/srecode/args.el
+++ b/lisp/cedet/srecode/args.el
@@ -32,7 +32,7 @@
32;;; :blank 32;;; :blank
33;; 33;;
34;; Using :blank means that the template should force blank lines 34;; Using :blank means that the template should force blank lines
35;; before and after the template, reguardless of where the insertion 35;; before and after the template, regardless of where the insertion
36;; is occurring. 36;; is occurring.
37(defun srecode-semantic-handle-:blank (dict) 37(defun srecode-semantic-handle-:blank (dict)
38 "Add macros into the dictionary DICT specifying blank line spacing. 38 "Add macros into the dictionary DICT specifying blank line spacing.
@@ -185,4 +185,3 @@ do not contain any text from preceding or following text."
185(provide 'srecode/args) 185(provide 'srecode/args)
186 186
187;;; srecode/args.el ends here 187;;; srecode/args.el ends here
188
diff --git a/lisp/cedet/srecode/ctxt.el b/lisp/cedet/srecode/ctxt.el
index f392379347a..11d84e96f41 100644
--- a/lisp/cedet/srecode/ctxt.el
+++ b/lisp/cedet/srecode/ctxt.el
@@ -64,7 +64,7 @@ Some useful context values used by the provided srecode templates are:
64 \"comment\" - In a comment in a block of code 64 \"comment\" - In a comment in a block of code
65 -- these items show up at the end of the context list. -- 65 -- these items show up at the end of the context list. --
66 \"public\", \"protected\", \"private\" - 66 \"public\", \"protected\", \"private\" -
67 In or near a section of public/pritected/private entries. 67 In or near a section of public/protected/private entries.
68 \"code\" - In a block of code. 68 \"code\" - In a block of code.
69 \"string\" - In a string in a block of code 69 \"string\" - In a string in a block of code
70 \"comment\" - In a comment in a block of code 70 \"comment\" - In a comment in a block of code
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index 62ceff82448..1575ce7ae3b 100644
--- a/lisp/cedet/srecode/dictionary.el
+++ b/lisp/cedet/srecode/dictionary.el
@@ -437,7 +437,7 @@ The root dictionary is usually for a current or active insertion."
437;;; COMPOUND VALUE METHODS 437;;; COMPOUND VALUE METHODS
438;; 438;;
439;; Compound values must provide at least the toString method 439;; Compound values must provide at least the toString method
440;; for use in converting the compound value into sometehing insertable. 440;; for use in converting the compound value into something insertable.
441 441
442(defmethod srecode-compound-toString ((cp srecode-dictionary-compound-value) 442(defmethod srecode-compound-toString ((cp srecode-dictionary-compound-value)
443 function 443 function
diff --git a/lisp/cedet/srecode/document.el b/lisp/cedet/srecode/document.el
index caf1ddebdb2..e25905ead83 100644
--- a/lisp/cedet/srecode/document.el
+++ b/lisp/cedet/srecode/document.el
@@ -122,7 +122,7 @@ RESULT is a string."
122 ("read" . "Reads from") 122 ("read" . "Reads from")
123 ("reset" . "Resets the parameters and returns") 123 ("reset" . "Resets the parameters and returns")
124 ("scan" . "Scans the ") 124 ("scan" . "Scans the ")
125 ("setup\\|init\\(iallize\\)?" . "Initializes the ") 125 ("setup\\|init\\(ialize\\)?" . "Initializes the ")
126 ("select" . "Chooses the ") 126 ("select" . "Chooses the ")
127 ("send" . "Sends a") 127 ("send" . "Sends a")
128 ("re?c\\(v\\|ieves?\\)" . "Receives a ") 128 ("re?c\\(v\\|ieves?\\)" . "Receives a ")
@@ -698,7 +698,7 @@ allocating something based on its type."
698 (cdr (car al))))) 698 (cdr (car al)))))
699 (setq al nil))) 699 (setq al nil)))
700 (setq al (cdr al))) 700 (setq al (cdr al)))
701 ;; add tailers to names which are obviously returning something. 701 ;; add trailers to names which are obviously returning something.
702 (if tailit 702 (if tailit
703 (progn 703 (progn
704 (setq al srecode-document-autocomment-return-last-alist) 704 (setq al srecode-document-autocomment-return-last-alist)
diff --git a/lisp/cedet/srecode/fields.el b/lisp/cedet/srecode/fields.el
index f13fb17ca8f..f4d34a0f2ab 100644
--- a/lisp/cedet/srecode/fields.el
+++ b/lisp/cedet/srecode/fields.el
@@ -324,7 +324,7 @@ Try to use this to provide useful completion when available.")
324 ) 324 )
325 325
326(defvar srecode-field-replication-max-size 100 326(defvar srecode-field-replication-max-size 100
327 "Maximum size of a field before cancelling replication.") 327 "Maximum size of a field before canceling replication.")
328 328
329(defun srecode-field-mod-hook (ol after start end &optional pre-len) 329(defun srecode-field-mod-hook (ol after start end &optional pre-len)
330 "Modification hook for the field overlay. 330 "Modification hook for the field overlay.
diff --git a/lisp/cedet/srecode/find.el b/lisp/cedet/srecode/find.el
index d9765ebd449..b947c63f4dd 100644
--- a/lisp/cedet/srecode/find.el
+++ b/lisp/cedet/srecode/find.el
@@ -238,7 +238,7 @@ Optional argument HASH is the hash table to fill in."
238 (tabs (when mt (oref mt :tables))) 238 (tabs (when mt (oref mt :tables)))
239 ) 239 )
240 (while tabs 240 (while tabs
241 ;; Exclude templates for a perticular application. 241 ;; Exclude templates for a particular application.
242 (when (and (not (oref (car tabs) :application)) 242 (when (and (not (oref (car tabs) :application))
243 (srecode-template-table-in-project-p (car tabs))) 243 (srecode-template-table-in-project-p (car tabs)))
244 (maphash (lambda (key temp) 244 (maphash (lambda (key temp)
diff --git a/lisp/cedet/srecode/insert.el b/lisp/cedet/srecode/insert.el
index 9fbfc5dc042..bbf8b881c4d 100644
--- a/lisp/cedet/srecode/insert.el
+++ b/lisp/cedet/srecode/insert.el
@@ -312,7 +312,7 @@ occur in your template.")
312 (setq doit nil))) 312 (setq doit nil)))
313 (goto-char pm) 313 (goto-char pm)
314 ) 314 )
315 ;; Do indentation reguardless of the newline. 315 ;; Do indentation regardless of the newline.
316 (when (and (eq i t) inbuff) 316 (when (and (eq i t) inbuff)
317 (indent-according-to-mode) 317 (indent-according-to-mode)
318 (goto-char pm)) 318 (goto-char pm))
@@ -946,7 +946,7 @@ with the dictionaries found in the dictionary."
946;; It will first insert the included template, then insert the embedded 946;; It will first insert the included template, then insert the embedded
947;; template wherever the $^$ in the included template was. 947;; template wherever the $^$ in the included template was.
948;; 948;;
949;; Since it uses dual inheretance, it will magically get the end-matching 949;; Since it uses dual inheritance, it will magically get the end-matching
950;; behavior of #, with the including feature of >. 950;; behavior of #, with the including feature of >.
951;; 951;;
952(defclass srecode-template-inserter-include-wrap (srecode-template-inserter-include srecode-template-inserter-section-start) 952(defclass srecode-template-inserter-include-wrap (srecode-template-inserter-include srecode-template-inserter-section-start)
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}