aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/semantic
diff options
context:
space:
mode:
authorPaul Eggert2011-12-05 00:55:25 -0800
committerPaul Eggert2011-12-05 00:55:25 -0800
commitfa46310344375ef5c114cbb94d4acea39ac29239 (patch)
tree4d74de9694db1c199cd9301a27c48b4d4137cf0c /lisp/cedet/semantic
parentc3c9e25e5d2c222d9f79a503c714b48c06078c08 (diff)
downloademacs-fa46310344375ef5c114cbb94d4acea39ac29239.tar.gz
emacs-fa46310344375ef5c114cbb94d4acea39ac29239.zip
Spelling fixes.
Diffstat (limited to 'lisp/cedet/semantic')
-rw-r--r--lisp/cedet/semantic/db-find.el12
-rw-r--r--lisp/cedet/semantic/debug.el2
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el
index 4d5d8f35f51..58fca963a58 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 578o ;; 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))))
diff --git a/lisp/cedet/semantic/debug.el b/lisp/cedet/semantic/debug.el
index 45b807df12b..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)))