diff options
| -rw-r--r-- | lisp/cedet/ede/proj-archive.el | 1 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj-aux.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj-elisp.el | 10 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj-info.el | 5 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj-misc.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj-obj.el | 31 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj-shared.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/ede/simple.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/ede/source.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/analyze.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/c.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/debug.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/complete.el | 24 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-javascript.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-ref.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/debug.el | 1 | ||||
| -rw-r--r-- | lisp/cedet/semantic/ede-grammar.el | 10 | ||||
| -rw-r--r-- | lisp/cedet/semantic/mru-bookmark.el | 1 | ||||
| -rw-r--r-- | lisp/cedet/semantic/scope.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/texi.el | 1 | ||||
| -rw-r--r-- | lisp/cedet/srecode/extract.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/srecode/map.el | 8 | ||||
| -rw-r--r-- | lisp/cedet/srecode/srt-mode.el | 3 |
23 files changed, 43 insertions, 99 deletions
diff --git a/lisp/cedet/ede/proj-archive.el b/lisp/cedet/ede/proj-archive.el index ad2355a8512..553f918f9ec 100644 --- a/lisp/cedet/ede/proj-archive.el +++ b/lisp/cedet/ede/proj-archive.el | |||
| @@ -34,7 +34,6 @@ | |||
| 34 | 34 | ||
| 35 | (defvar ede-archive-linker | 35 | (defvar ede-archive-linker |
| 36 | (ede-linker | 36 | (ede-linker |
| 37 | "ede-archive-linker" | ||
| 38 | :name "ar" | 37 | :name "ar" |
| 39 | :variables '(("AR" . "ar") | 38 | :variables '(("AR" . "ar") |
| 40 | ("AR_CMD" . "$(AR) cr")) | 39 | ("AR_CMD" . "$(AR) cr")) |
diff --git a/lisp/cedet/ede/proj-aux.el b/lisp/cedet/ede/proj-aux.el index 091ea1741b7..f75006d6c57 100644 --- a/lisp/cedet/ede/proj-aux.el +++ b/lisp/cedet/ede/proj-aux.el | |||
| @@ -34,8 +34,7 @@ | |||
| 34 | "This target consists of aux files such as READMEs and COPYING.") | 34 | "This target consists of aux files such as READMEs and COPYING.") |
| 35 | 35 | ||
| 36 | (defvar ede-aux-source | 36 | (defvar ede-aux-source |
| 37 | (ede-sourcecode "ede-aux-source-txt" | 37 | (ede-sourcecode :name "Auxiliary Text" |
| 38 | :name "Auxiliary Text" | ||
| 39 | :sourcepattern "^[A-Z]+$\\|\\.txt$") | 38 | :sourcepattern "^[A-Z]+$\\|\\.txt$") |
| 40 | "Miscellaneous fields definition.") | 39 | "Miscellaneous fields definition.") |
| 41 | 40 | ||
diff --git a/lisp/cedet/ede/proj-elisp.el b/lisp/cedet/ede/proj-elisp.el index 2ef91e767bb..d9b8989ec74 100644 --- a/lisp/cedet/ede/proj-elisp.el +++ b/lisp/cedet/ede/proj-elisp.el | |||
| @@ -77,21 +77,18 @@ For Emacs Lisp, return addsuffix command on source files." | |||
| 77 | (ede-proj-makefile-sourcevar this))) | 77 | (ede-proj-makefile-sourcevar this))) |
| 78 | 78 | ||
| 79 | (defvar ede-source-emacs | 79 | (defvar ede-source-emacs |
| 80 | (ede-sourcecode "ede-emacs-source" | 80 | (ede-sourcecode :name "Emacs Lisp" |
| 81 | :name "Emacs Lisp" | ||
| 82 | :sourcepattern "\\.el$" | 81 | :sourcepattern "\\.el$" |
| 83 | :garbagepattern '("*.elc")) | 82 | :garbagepattern '("*.elc")) |
| 84 | "Emacs Lisp source code definition.") | 83 | "Emacs Lisp source code definition.") |
| 85 | 84 | ||
| 86 | (defvar ede-emacs-compiler | 85 | (defvar ede-emacs-compiler |
| 87 | (ede-compiler | 86 | (ede-compiler |
| 88 | "ede-emacs-compiler" | ||
| 89 | :name "emacs" | 87 | :name "emacs" |
| 90 | :variables '(("EMACS" . "emacs") | 88 | :variables '(("EMACS" . "emacs") |
| 91 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") | 89 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") |
| 92 | ("require" . "$(foreach r,$(1),(require (quote $(r))))")) | 90 | ("require" . "$(foreach r,$(1),(require (quote $(r))))")) |
| 93 | :rules (list (ede-makefile-rule | 91 | :rules (list (ede-makefile-rule |
| 94 | "elisp-inference-rule" | ||
| 95 | :target "%.elc" | 92 | :target "%.elc" |
| 96 | :dependencies "%.el" | 93 | :dependencies "%.el" |
| 97 | :rules '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ | 94 | :rules '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ |
| @@ -103,7 +100,7 @@ For Emacs Lisp, return addsuffix command on source files." | |||
| 103 | "Compile Emacs Lisp programs.") | 100 | "Compile Emacs Lisp programs.") |
| 104 | 101 | ||
| 105 | (defvar ede-xemacs-compiler | 102 | (defvar ede-xemacs-compiler |
| 106 | (clone ede-emacs-compiler "ede-xemacs-compiler" | 103 | (clone ede-emacs-compiler |
| 107 | :name "xemacs" | 104 | :name "xemacs" |
| 108 | :variables '(("EMACS" . "xemacs"))) | 105 | :variables '(("EMACS" . "xemacs"))) |
| 109 | "Compile Emacs Lisp programs with XEmacs.") | 106 | "Compile Emacs Lisp programs with XEmacs.") |
| @@ -324,7 +321,6 @@ Lays claim to all .elc files that match .el files in this target." | |||
| 324 | ;; Compilers | 321 | ;; Compilers |
| 325 | (defvar ede-emacs-cedet-autogen-compiler | 322 | (defvar ede-emacs-cedet-autogen-compiler |
| 326 | (ede-compiler | 323 | (ede-compiler |
| 327 | "ede-emacs-autogen-compiler" | ||
| 328 | :name "emacs" | 324 | :name "emacs" |
| 329 | :variables '(("EMACS" . "emacs") | 325 | :variables '(("EMACS" . "emacs") |
| 330 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") | 326 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") |
| @@ -333,7 +329,7 @@ Lays claim to all .elc files that match .el files in this target." | |||
| 333 | '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ | 329 | '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ |
| 334 | --eval '(setq generated-autoload-file \"$(abspath $(LOADDEFS))\")' \ | 330 | --eval '(setq generated-autoload-file \"$(abspath $(LOADDEFS))\")' \ |
| 335 | -f batch-update-autoloads $(abspath $(LOADDIRS))") | 331 | -f batch-update-autoloads $(abspath $(LOADDIRS))") |
| 336 | :rules (list (ede-makefile-rule "clean-autoloads" :target "clean-autoloads" :phony t :rules '("rm -f $(LOADDEFS)"))) | 332 | :rules (list (ede-makefile-rule :target "clean-autoloads" :phony t :rules '("rm -f $(LOADDEFS)"))) |
| 337 | :sourcetype '(ede-source-emacs) | 333 | :sourcetype '(ede-source-emacs) |
| 338 | ) | 334 | ) |
| 339 | "Build an autoloads file.") | 335 | "Build an autoloads file.") |
diff --git a/lisp/cedet/ede/proj-info.el b/lisp/cedet/ede/proj-info.el index 849ef14352b..992996a9355 100644 --- a/lisp/cedet/ede/proj-info.el +++ b/lisp/cedet/ede/proj-info.el | |||
| @@ -43,15 +43,13 @@ All other sources should be included independently.")) | |||
| 43 | "Target for a single info file.") | 43 | "Target for a single info file.") |
| 44 | 44 | ||
| 45 | (defvar ede-makeinfo-source | 45 | (defvar ede-makeinfo-source |
| 46 | (ede-sourcecode "ede-makeinfo-source" | 46 | (ede-sourcecode :name "Texinfo" |
| 47 | :name "Texinfo" | ||
| 48 | :sourcepattern "\\.texi?$" | 47 | :sourcepattern "\\.texi?$" |
| 49 | :garbagepattern '("*.info*" "*.html")) | 48 | :garbagepattern '("*.info*" "*.html")) |
| 50 | "Texinfo source code definition.") | 49 | "Texinfo source code definition.") |
| 51 | 50 | ||
| 52 | (defvar ede-makeinfo-compiler | 51 | (defvar ede-makeinfo-compiler |
| 53 | (ede-compiler | 52 | (ede-compiler |
| 54 | "ede-makeinfo-compiler" | ||
| 55 | :name "makeinfo" | 53 | :name "makeinfo" |
| 56 | :variables '(("MAKEINFO" . "makeinfo")) | 54 | :variables '(("MAKEINFO" . "makeinfo")) |
| 57 | :commands '("$(MAKEINFO) $<") | 55 | :commands '("$(MAKEINFO) $<") |
| @@ -62,7 +60,6 @@ All other sources should be included independently.")) | |||
| 62 | 60 | ||
| 63 | (defvar ede-texi2html-compiler | 61 | (defvar ede-texi2html-compiler |
| 64 | (ede-compiler | 62 | (ede-compiler |
| 65 | "ede-texi2html-compiler" | ||
| 66 | :name "texi2html" | 63 | :name "texi2html" |
| 67 | :variables '(("TEXI2HTML" . "makeinfo -html")) | 64 | :variables '(("TEXI2HTML" . "makeinfo -html")) |
| 68 | :commands '("makeinfo -o $@ $<") | 65 | :commands '("makeinfo -o $@ $<") |
diff --git a/lisp/cedet/ede/proj-misc.el b/lisp/cedet/ede/proj-misc.el index d85300c3123..7bc02faccaf 100644 --- a/lisp/cedet/ede/proj-misc.el +++ b/lisp/cedet/ede/proj-misc.el | |||
| @@ -49,14 +49,12 @@ A user-written makefile is used to build this target. | |||
| 49 | All listed sources are included in the distribution.") | 49 | All listed sources are included in the distribution.") |
| 50 | 50 | ||
| 51 | (defvar ede-misc-source | 51 | (defvar ede-misc-source |
| 52 | (ede-sourcecode "ede-misc-source" | 52 | (ede-sourcecode :name "Miscellaneous" |
| 53 | :name "Miscellaneous" | ||
| 54 | :sourcepattern ".*") | 53 | :sourcepattern ".*") |
| 55 | "Miscellaneous field definition.") | 54 | "Miscellaneous field definition.") |
| 56 | 55 | ||
| 57 | (defvar ede-misc-compile | 56 | (defvar ede-misc-compile |
| 58 | (ede-compiler "ede-misc-compile" | 57 | (ede-compiler :name "Sub Makefile" |
| 59 | :name "Sub Makefile" | ||
| 60 | :commands | 58 | :commands |
| 61 | '( | 59 | '( |
| 62 | ) | 60 | ) |
diff --git a/lisp/cedet/ede/proj-obj.el b/lisp/cedet/ede/proj-obj.el index a34d209375b..b087c29cfe6 100644 --- a/lisp/cedet/ede/proj-obj.el +++ b/lisp/cedet/ede/proj-obj.el | |||
| @@ -83,8 +83,7 @@ file.") | |||
| 83 | ;;; C/C++ Compilers and Linkers | 83 | ;;; C/C++ Compilers and Linkers |
| 84 | ;; | 84 | ;; |
| 85 | (defvar ede-source-c | 85 | (defvar ede-source-c |
| 86 | (ede-sourcecode "ede-source-c" | 86 | (ede-sourcecode :name "C" |
| 87 | :name "C" | ||
| 88 | :sourcepattern "\\.c$" | 87 | :sourcepattern "\\.c$" |
| 89 | :auxsourcepattern "\\.h$" | 88 | :auxsourcepattern "\\.h$" |
| 90 | :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo")) | 89 | :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo")) |
| @@ -92,14 +91,12 @@ file.") | |||
| 92 | 91 | ||
| 93 | (defvar ede-gcc-compiler | 92 | (defvar ede-gcc-compiler |
| 94 | (ede-object-compiler | 93 | (ede-object-compiler |
| 95 | "ede-c-compiler-gcc" | ||
| 96 | :name "gcc" | 94 | :name "gcc" |
| 97 | :dependencyvar '("C_DEPENDENCIES" . "-Wp,-MD,.deps/$(*F).P") | 95 | :dependencyvar '("C_DEPENDENCIES" . "-Wp,-MD,.deps/$(*F).P") |
| 98 | :variables '(("CC" . "gcc") | 96 | :variables '(("CC" . "gcc") |
| 99 | ("C_COMPILE" . | 97 | ("C_COMPILE" . |
| 100 | "$(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)")) | 98 | "$(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)")) |
| 101 | :rules (list (ede-makefile-rule | 99 | :rules (list (ede-makefile-rule |
| 102 | "c-inference-rule" | ||
| 103 | :target "%.o" | 100 | :target "%.o" |
| 104 | :dependencies "%.c" | 101 | :dependencies "%.c" |
| 105 | :rules '("@echo '$(C_COMPILE) -c $<'; \\" | 102 | :rules '("@echo '$(C_COMPILE) -c $<'; \\" |
| @@ -115,7 +112,6 @@ file.") | |||
| 115 | 112 | ||
| 116 | (defvar ede-cc-linker | 113 | (defvar ede-cc-linker |
| 117 | (ede-linker | 114 | (ede-linker |
| 118 | "ede-cc-linker" | ||
| 119 | :name "cc" | 115 | :name "cc" |
| 120 | :sourcetype '(ede-source-c) | 116 | :sourcetype '(ede-source-c) |
| 121 | :variables '(("C_LINK" . "$(CC) $(CFLAGS) $(LDFLAGS) -L.")) | 117 | :variables '(("C_LINK" . "$(CC) $(CFLAGS) $(LDFLAGS) -L.")) |
| @@ -124,8 +120,7 @@ file.") | |||
| 124 | "Linker for C sourcecode.") | 120 | "Linker for C sourcecode.") |
| 125 | 121 | ||
| 126 | (defvar ede-source-c++ | 122 | (defvar ede-source-c++ |
| 127 | (ede-sourcecode "ede-source-c++" | 123 | (ede-sourcecode :name "C++" |
| 128 | :name "C++" | ||
| 129 | :sourcepattern "\\.\\(c\\(pp?\\|c\\|xx\\|++\\)\\|C\\(PP\\)?\\)$" | 124 | :sourcepattern "\\.\\(c\\(pp?\\|c\\|xx\\|++\\)\\|C\\(PP\\)?\\)$" |
| 130 | :auxsourcepattern "\\.\\(hpp?\\|hh?\\|hxx\\|H\\)$" | 125 | :auxsourcepattern "\\.\\(hpp?\\|hh?\\|hxx\\|H\\)$" |
| 131 | :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo")) | 126 | :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo")) |
| @@ -133,7 +128,6 @@ file.") | |||
| 133 | 128 | ||
| 134 | (defvar ede-g++-compiler | 129 | (defvar ede-g++-compiler |
| 135 | (ede-object-compiler | 130 | (ede-object-compiler |
| 136 | "ede-c-compiler-g++" | ||
| 137 | :name "g++" | 131 | :name "g++" |
| 138 | :dependencyvar '("CXX_DEPENDENCIES" . "-Wp,-MD,.deps/$(*F).P") | 132 | :dependencyvar '("CXX_DEPENDENCIES" . "-Wp,-MD,.deps/$(*F).P") |
| 139 | :variables '(("CXX" "g++") | 133 | :variables '(("CXX" "g++") |
| @@ -141,7 +135,6 @@ file.") | |||
| 141 | "$(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") | 135 | "$(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") |
| 142 | ) | 136 | ) |
| 143 | :rules (list (ede-makefile-rule | 137 | :rules (list (ede-makefile-rule |
| 144 | "c++-inference-rule" | ||
| 145 | :target "%.o" | 138 | :target "%.o" |
| 146 | :dependencies "%.cpp" | 139 | :dependencies "%.cpp" |
| 147 | :rules '("@echo '$(CXX_COMPILE) -c $<'; \\" | 140 | :rules '("@echo '$(CXX_COMPILE) -c $<'; \\" |
| @@ -157,7 +150,6 @@ file.") | |||
| 157 | 150 | ||
| 158 | (defvar ede-g++-linker | 151 | (defvar ede-g++-linker |
| 159 | (ede-linker | 152 | (ede-linker |
| 160 | "ede-g++-linker" | ||
| 161 | :name "g++" | 153 | :name "g++" |
| 162 | ;; Only use this linker when c++ exists. | 154 | ;; Only use this linker when c++ exists. |
| 163 | :sourcetype '(ede-source-c++) | 155 | :sourcetype '(ede-source-c++) |
| @@ -169,15 +161,13 @@ file.") | |||
| 169 | 161 | ||
| 170 | ;;; LEX | 162 | ;;; LEX |
| 171 | (defvar ede-source-lex | 163 | (defvar ede-source-lex |
| 172 | (ede-sourcecode "ede-source-lex" | 164 | (ede-sourcecode :name "lex" |
| 173 | :name "lex" | ||
| 174 | :sourcepattern "\\.l\\(l\\|pp\\|++\\)") | 165 | :sourcepattern "\\.l\\(l\\|pp\\|++\\)") |
| 175 | "Lex source code definition. | 166 | "Lex source code definition. |
| 176 | No garbage pattern since it creates C or C++ code.") | 167 | No garbage pattern since it creates C or C++ code.") |
| 177 | 168 | ||
| 178 | (defvar ede-lex-compiler | 169 | (defvar ede-lex-compiler |
| 179 | (ede-object-compiler | 170 | (ede-object-compiler |
| 180 | "ede-lex-compiler" | ||
| 181 | ;; Can we support regular makefiles too?? | 171 | ;; Can we support regular makefiles too?? |
| 182 | :autoconf '("AC_PROG_LEX") | 172 | :autoconf '("AC_PROG_LEX") |
| 183 | :sourcetype '(ede-source-lex)) | 173 | :sourcetype '(ede-source-lex)) |
| @@ -185,15 +175,13 @@ No garbage pattern since it creates C or C++ code.") | |||
| 185 | 175 | ||
| 186 | ;;; YACC | 176 | ;;; YACC |
| 187 | (defvar ede-source-yacc | 177 | (defvar ede-source-yacc |
| 188 | (ede-sourcecode "ede-source-yacc" | 178 | (ede-sourcecode :name "yacc" |
| 189 | :name "yacc" | ||
| 190 | :sourcepattern "\\.y\\(y\\|pp\\|++\\)") | 179 | :sourcepattern "\\.y\\(y\\|pp\\|++\\)") |
| 191 | "Yacc source code definition. | 180 | "Yacc source code definition. |
| 192 | No garbage pattern since it creates C or C++ code.") | 181 | No garbage pattern since it creates C or C++ code.") |
| 193 | 182 | ||
| 194 | (defvar ede-yacc-compiler | 183 | (defvar ede-yacc-compiler |
| 195 | (ede-object-compiler | 184 | (ede-object-compiler |
| 196 | "ede-yacc-compiler" | ||
| 197 | ;; Can we support regular makefiles too?? | 185 | ;; Can we support regular makefiles too?? |
| 198 | :autoconf '("AC_PROG_YACC") | 186 | :autoconf '("AC_PROG_YACC") |
| 199 | :sourcetype '(ede-source-yacc)) | 187 | :sourcetype '(ede-source-yacc)) |
| @@ -203,16 +191,14 @@ No garbage pattern since it creates C or C++ code.") | |||
| 203 | ;; | 191 | ;; |
| 204 | ;; Contributed by David Engster | 192 | ;; Contributed by David Engster |
| 205 | (defvar ede-source-f90 | 193 | (defvar ede-source-f90 |
| 206 | (ede-sourcecode "ede-source-f90" | 194 | (ede-sourcecode :name "Fortran 90/95" |
| 207 | :name "Fortran 90/95" | ||
| 208 | :sourcepattern "\\.[fF]9[05]$" | 195 | :sourcepattern "\\.[fF]9[05]$" |
| 209 | :auxsourcepattern "\\.incf$" | 196 | :auxsourcepattern "\\.incf$" |
| 210 | :garbagepattern '("*.o" "*.mod" ".deps/*.P")) | 197 | :garbagepattern '("*.o" "*.mod" ".deps/*.P")) |
| 211 | "Fortran 90/95 source code definition.") | 198 | "Fortran 90/95 source code definition.") |
| 212 | 199 | ||
| 213 | (defvar ede-source-f77 | 200 | (defvar ede-source-f77 |
| 214 | (ede-sourcecode "ede-source-f77" | 201 | (ede-sourcecode :name "Fortran 77" |
| 215 | :name "Fortran 77" | ||
| 216 | :sourcepattern "\\.\\([fF]\\|for\\)$" | 202 | :sourcepattern "\\.\\([fF]\\|for\\)$" |
| 217 | :auxsourcepattern "\\.incf$" | 203 | :auxsourcepattern "\\.incf$" |
| 218 | :garbagepattern '("*.o" ".deps/*.P")) | 204 | :garbagepattern '("*.o" ".deps/*.P")) |
| @@ -220,14 +206,12 @@ No garbage pattern since it creates C or C++ code.") | |||
| 220 | 206 | ||
| 221 | (defvar ede-gfortran-compiler | 207 | (defvar ede-gfortran-compiler |
| 222 | (ede-object-compiler | 208 | (ede-object-compiler |
| 223 | "ede-f90-compiler-gfortran" | ||
| 224 | :name "gfortran" | 209 | :name "gfortran" |
| 225 | :dependencyvar '("F90_DEPENDENCIES" . "-Wp,-MD,.deps/$(*F).P") | 210 | :dependencyvar '("F90_DEPENDENCIES" . "-Wp,-MD,.deps/$(*F).P") |
| 226 | :variables '(("F90" . "gfortran") | 211 | :variables '(("F90" . "gfortran") |
| 227 | ("F90_COMPILE" . | 212 | ("F90_COMPILE" . |
| 228 | "$(F90) $(DEFS) $(INCLUDES) $(F90FLAGS)")) | 213 | "$(F90) $(DEFS) $(INCLUDES) $(F90FLAGS)")) |
| 229 | :rules (list (ede-makefile-rule | 214 | :rules (list (ede-makefile-rule |
| 230 | "f90-inference-rule" | ||
| 231 | :target "%.o" | 215 | :target "%.o" |
| 232 | :dependencies "%.f90" | 216 | :dependencies "%.f90" |
| 233 | :rules '("@echo '$(F90_COMPILE) -c $<'; \\" | 217 | :rules '("@echo '$(F90_COMPILE) -c $<'; \\" |
| @@ -242,7 +226,6 @@ No garbage pattern since it creates C or C++ code.") | |||
| 242 | 226 | ||
| 243 | (defvar ede-gfortran-module-compiler | 227 | (defvar ede-gfortran-module-compiler |
| 244 | (clone ede-gfortran-compiler | 228 | (clone ede-gfortran-compiler |
| 245 | "ede-f90-module-compiler-gfortran" | ||
| 246 | :name "gfortranmod" | 229 | :name "gfortranmod" |
| 247 | :sourcetype '(ede-source-f90) | 230 | :sourcetype '(ede-source-f90) |
| 248 | :commands '("$(F90_COMPILE) -c $^") | 231 | :commands '("$(F90_COMPILE) -c $^") |
| @@ -253,7 +236,6 @@ No garbage pattern since it creates C or C++ code.") | |||
| 253 | 236 | ||
| 254 | (defvar ede-gfortran-linker | 237 | (defvar ede-gfortran-linker |
| 255 | (ede-linker | 238 | (ede-linker |
| 256 | "ede-gfortran-linker" | ||
| 257 | :name "gfortran" | 239 | :name "gfortran" |
| 258 | :sourcetype '(ede-source-f90 ede-source-f77) | 240 | :sourcetype '(ede-source-f90 ede-source-f77) |
| 259 | :variables '(("F90_LINK" . "$(F90) $(CFLAGS) $(LDFLAGS) -L.")) | 241 | :variables '(("F90_LINK" . "$(F90) $(CFLAGS) $(LDFLAGS) -L.")) |
| @@ -265,7 +247,6 @@ No garbage pattern since it creates C or C++ code.") | |||
| 265 | ;; | 247 | ;; |
| 266 | (defvar ede-ld-linker | 248 | (defvar ede-ld-linker |
| 267 | (ede-linker | 249 | (ede-linker |
| 268 | "ede-ld-linker" | ||
| 269 | :name "ld" | 250 | :name "ld" |
| 270 | :variables '(("LD" . "ld") | 251 | :variables '(("LD" . "ld") |
| 271 | ("LD_LINK" . "$(LD) $(LDFLAGS) -L.")) | 252 | ("LD_LINK" . "$(LD) $(LDFLAGS) -L.")) |
diff --git a/lisp/cedet/ede/proj-shared.el b/lisp/cedet/ede/proj-shared.el index 5d6ca95d7c5..75d02eccbcb 100644 --- a/lisp/cedet/ede/proj-shared.el +++ b/lisp/cedet/ede/proj-shared.el | |||
| @@ -75,7 +75,6 @@ Use ldlibs to add addition libraries.") | |||
| 75 | ("LTLINK" . "$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@") | 75 | ("LTLINK" . "$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@") |
| 76 | ) | 76 | ) |
| 77 | :rules (list (ede-makefile-rule | 77 | :rules (list (ede-makefile-rule |
| 78 | "cc-inference-rule-libtool" | ||
| 79 | :target "%.o" | 78 | :target "%.o" |
| 80 | :dependencies "%.c" | 79 | :dependencies "%.c" |
| 81 | :rules '("@echo '$(LTCOMPILE) -o $@ $<'; \\" | 80 | :rules '("@echo '$(LTCOMPILE) -o $@ $<'; \\" |
| @@ -122,7 +121,6 @@ Use ldlibs to add addition libraries.") | |||
| 122 | ("LTCOMPILE" . "$(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") | 121 | ("LTCOMPILE" . "$(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") |
| 123 | ) | 122 | ) |
| 124 | :rules (list (ede-makefile-rule | 123 | :rules (list (ede-makefile-rule |
| 125 | "c++-inference-rule-libtool" | ||
| 126 | :target "%.o" | 124 | :target "%.o" |
| 127 | :dependencies "%.cpp" | 125 | :dependencies "%.cpp" |
| 128 | :rules '("@echo '$(LTCOMPILE) -o $@ $<'; \\" | 126 | :rules '("@echo '$(LTCOMPILE) -o $@ $<'; \\" |
diff --git a/lisp/cedet/ede/simple.el b/lisp/cedet/ede/simple.el index b945d690f95..3931cf63483 100644 --- a/lisp/cedet/ede/simple.el +++ b/lisp/cedet/ede/simple.el | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | ;;; Code: | 46 | ;;; Code: |
| 47 | 47 | ||
| 48 | (add-to-list 'ede-project-class-files | 48 | (add-to-list 'ede-project-class-files |
| 49 | (ede-project-autoload "simple-overlay" | 49 | (ede-project-autoload |
| 50 | :name "Simple" :file 'ede/simple | 50 | :name "Simple" :file 'ede/simple |
| 51 | :proj-file 'ede-simple-projectfile-for-dir | 51 | :proj-file 'ede-simple-projectfile-for-dir |
| 52 | :load-type 'ede-simple-load | 52 | :load-type 'ede-simple-load |
diff --git a/lisp/cedet/ede/source.el b/lisp/cedet/ede/source.el index b616af3a430..71a1c38a522 100644 --- a/lisp/cedet/ede/source.el +++ b/lisp/cedet/ede/source.el | |||
| @@ -156,14 +156,12 @@ Used to guess header files, but uses the auxsource regular expression." | |||
| 156 | ;; | 156 | ;; |
| 157 | ;; This must appear at the end so that the init method will work. | 157 | ;; This must appear at the end so that the init method will work. |
| 158 | (defvar ede-source-scheme | 158 | (defvar ede-source-scheme |
| 159 | (ede-sourcecode "ede-source-scheme" | 159 | (ede-sourcecode :name "Scheme" |
| 160 | :name "Scheme" | ||
| 161 | :sourcepattern "\\.scm$") | 160 | :sourcepattern "\\.scm$") |
| 162 | "Scheme source code definition.") | 161 | "Scheme source code definition.") |
| 163 | 162 | ||
| 164 | ;;(defvar ede-source- | 163 | ;;(defvar ede-source- |
| 165 | ;; (ede-sourcecode "ede-source-" | 164 | ;; (ede-sourcecode :name "" |
| 166 | ;; :name "" | ||
| 167 | ;; :sourcepattern "\\.$" | 165 | ;; :sourcepattern "\\.$" |
| 168 | ;; :garbagepattern '("*.")) | 166 | ;; :garbagepattern '("*.")) |
| 169 | ;; " source code definition.") | 167 | ;; " source code definition.") |
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el index 7c9f102951d..625982f2c76 100644 --- a/lisp/cedet/semantic/analyze.el +++ b/lisp/cedet/semantic/analyze.el | |||
| @@ -642,7 +642,6 @@ Returns an object based on symbol `semantic-analyze-context'." | |||
| 642 | ;; for the argument. | 642 | ;; for the argument. |
| 643 | (setq context-return | 643 | (setq context-return |
| 644 | (semantic-analyze-context-functionarg | 644 | (semantic-analyze-context-functionarg |
| 645 | "functionargument" | ||
| 646 | :buffer (current-buffer) | 645 | :buffer (current-buffer) |
| 647 | :function fntag | 646 | :function fntag |
| 648 | :index arg | 647 | :index arg |
| @@ -665,7 +664,6 @@ Returns an object based on symbol `semantic-analyze-context'." | |||
| 665 | 664 | ||
| 666 | (setq context-return | 665 | (setq context-return |
| 667 | (semantic-analyze-context-assignment | 666 | (semantic-analyze-context-assignment |
| 668 | "assignment" | ||
| 669 | :buffer (current-buffer) | 667 | :buffer (current-buffer) |
| 670 | :assignee asstag | 668 | :assignee asstag |
| 671 | :scope scope | 669 | :scope scope |
| @@ -683,7 +681,6 @@ Returns an object based on symbol `semantic-analyze-context'." | |||
| 683 | ;; Nothing in particular | 681 | ;; Nothing in particular |
| 684 | (setq context-return | 682 | (setq context-return |
| 685 | (semantic-analyze-context | 683 | (semantic-analyze-context |
| 686 | "context" | ||
| 687 | :buffer (current-buffer) | 684 | :buffer (current-buffer) |
| 688 | :scope scope | 685 | :scope scope |
| 689 | :bounds bounds | 686 | :bounds bounds |
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el index 73c8a56dbd8..cb27582fa54 100644 --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el | |||
| @@ -1990,7 +1990,7 @@ have to be wrapped in that namespace." | |||
| 1990 | (list (semantic-tag-new-type inside-ns "namespace" tags nil))) | 1990 | (list (semantic-tag-new-type inside-ns "namespace" tags nil))) |
| 1991 | ;; Create new semantic-table for the wrapped tags, since we don't want | 1991 | ;; Create new semantic-table for the wrapped tags, since we don't want |
| 1992 | ;; the namespace to actually be a part of the header file. | 1992 | ;; the namespace to actually be a part of the header file. |
| 1993 | (setq newtable (semanticdb-table "include with context")) | 1993 | (setq newtable (semanticdb-table)) |
| 1994 | (oset newtable tags newtags) | 1994 | (oset newtable tags newtags) |
| 1995 | (oset newtable parent-db (oref inctable parent-db)) | 1995 | (oset newtable parent-db (oref inctable parent-db)) |
| 1996 | (oset newtable file (oref inctable file))) | 1996 | (oset newtable file (oref inctable file))) |
diff --git a/lisp/cedet/semantic/bovine/debug.el b/lisp/cedet/semantic/bovine/debug.el index 9bacee2a9cc..e511b3d2710 100644 --- a/lisp/cedet/semantic/bovine/debug.el +++ b/lisp/cedet/semantic/bovine/debug.el | |||
| @@ -73,8 +73,7 @@ The RULE is for \"thing\" is 1. | |||
| 73 | The MATCH for \"thing\" is 1. | 73 | The MATCH for \"thing\" is 1. |
| 74 | COLLECTION is a list of `things' that have been matched so far. | 74 | COLLECTION is a list of `things' that have been matched so far. |
| 75 | LEXTOKEN, is a token returned by the lexer which is being matched." | 75 | LEXTOKEN, is a token returned by the lexer which is being matched." |
| 76 | (let ((frame (semantic-bovine-debug-frame "frame" | 76 | (let ((frame (semantic-bovine-debug-frame :nonterm nonterm |
| 77 | :nonterm nonterm | ||
| 78 | :rule rule | 77 | :rule rule |
| 79 | :match match | 78 | :match match |
| 80 | :collection collection | 79 | :collection collection |
| @@ -119,8 +118,7 @@ LEXTOKEN, is a token returned by the lexer which is being matched." | |||
| 119 | (defun semantic-create-bovine-debug-error-frame (condition) | 118 | (defun semantic-create-bovine-debug-error-frame (condition) |
| 120 | "Create an error frame for bovine debugger. | 119 | "Create an error frame for bovine debugger. |
| 121 | Argument CONDITION is the thrown error condition." | 120 | Argument CONDITION is the thrown error condition." |
| 122 | (let ((frame (semantic-bovine-debug-error-frame "frame" | 121 | (let ((frame (semantic-bovine-debug-error-frame :condition condition))) |
| 123 | :condition condition))) | ||
| 124 | (semantic-debug-set-frame semantic-debug-current-interface | 122 | (semantic-debug-set-frame semantic-debug-current-interface |
| 125 | frame) | 123 | frame) |
| 126 | frame)) | 124 | frame)) |
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 1da1a319f11..baea2261e5d 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el | |||
| @@ -1890,8 +1890,8 @@ If INITIAL-INPUT is non-nil, insert it in the minibuffer initially. | |||
| 1890 | HISTORY is a symbol representing a variable to store the history in." | 1890 | HISTORY is a symbol representing a variable to store the history in." |
| 1891 | (semantic-complete-read-tag-engine | 1891 | (semantic-complete-read-tag-engine |
| 1892 | (semantic-collector-buffer-deep prompt :buffer (current-buffer)) | 1892 | (semantic-collector-buffer-deep prompt :buffer (current-buffer)) |
| 1893 | (semantic-displayor-traditional-with-focus-highlight "simple") | 1893 | (semantic-displayor-traditional-with-focus-highlight) |
| 1894 | ;;(semantic-displayor-tooltip "simple") | 1894 | ;;(semantic-displayor-tooltip) |
| 1895 | prompt | 1895 | prompt |
| 1896 | default-tag | 1896 | default-tag |
| 1897 | initial-input | 1897 | initial-input |
| @@ -1912,8 +1912,8 @@ If INITIAL-INPUT is non-nil, insert it in the minibuffer initially. | |||
| 1912 | HISTORY is a symbol representing a variable to store the history in." | 1912 | HISTORY is a symbol representing a variable to store the history in." |
| 1913 | (semantic-complete-read-tag-engine | 1913 | (semantic-complete-read-tag-engine |
| 1914 | (semantic-collector-local-members prompt :buffer (current-buffer)) | 1914 | (semantic-collector-local-members prompt :buffer (current-buffer)) |
| 1915 | (semantic-displayor-traditional-with-focus-highlight "simple") | 1915 | (semantic-displayor-traditional-with-focus-highlight) |
| 1916 | ;;(semantic-displayor-tooltip "simple") | 1916 | ;;(semantic-displayor-tooltip) |
| 1917 | prompt | 1917 | prompt |
| 1918 | default-tag | 1918 | default-tag |
| 1919 | initial-input | 1919 | initial-input |
| @@ -1937,7 +1937,7 @@ HISTORY is a symbol representing a variable to store the history in." | |||
| 1937 | :buffer (current-buffer) | 1937 | :buffer (current-buffer) |
| 1938 | :path (current-buffer) | 1938 | :path (current-buffer) |
| 1939 | ) | 1939 | ) |
| 1940 | (semantic-displayor-traditional-with-focus-highlight "simple") | 1940 | (semantic-displayor-traditional-with-focus-highlight) |
| 1941 | prompt | 1941 | prompt |
| 1942 | default-tag | 1942 | default-tag |
| 1943 | initial-input | 1943 | initial-input |
| @@ -1954,7 +1954,6 @@ to control how completion options are displayed. | |||
| 1954 | See `semantic-complete-inline-tag-engine' for details on how | 1954 | See `semantic-complete-inline-tag-engine' for details on how |
| 1955 | completion works." | 1955 | completion works." |
| 1956 | (let* ((collector (semantic-collector-project-brutish | 1956 | (let* ((collector (semantic-collector-project-brutish |
| 1957 | "inline" | ||
| 1958 | :buffer (current-buffer) | 1957 | :buffer (current-buffer) |
| 1959 | :path (current-buffer))) | 1958 | :path (current-buffer))) |
| 1960 | (sbounds (semantic-ctxt-current-symbol-and-bounds)) | 1959 | (sbounds (semantic-ctxt-current-symbol-and-bounds)) |
| @@ -1984,9 +1983,8 @@ completion works." | |||
| 1984 | ;; There are several options. Do the completion. | 1983 | ;; There are several options. Do the completion. |
| 1985 | (semantic-complete-inline-tag-engine | 1984 | (semantic-complete-inline-tag-engine |
| 1986 | collector | 1985 | collector |
| 1987 | (funcall semantic-complete-inline-analyzer-displayor-class | 1986 | (funcall semantic-complete-inline-analyzer-displayor-class) |
| 1988 | "inline displayor") | 1987 | ;;(semantic-displayor-tooltip) |
| 1989 | ;;(semantic-displayor-tooltip "simple") | ||
| 1990 | (current-buffer) | 1988 | (current-buffer) |
| 1991 | start end)) | 1989 | start end)) |
| 1992 | ))) | 1990 | ))) |
| @@ -2013,7 +2011,7 @@ prompts. these are calculated from the CONTEXT variable passed in." | |||
| 2013 | prompt | 2011 | prompt |
| 2014 | :buffer (oref context buffer) | 2012 | :buffer (oref context buffer) |
| 2015 | :context context) | 2013 | :context context) |
| 2016 | (semantic-displayor-traditional-with-focus-highlight "simple") | 2014 | (semantic-displayor-traditional-with-focus-highlight) |
| 2017 | (with-current-buffer (oref context buffer) | 2015 | (with-current-buffer (oref context buffer) |
| 2018 | (goto-char (cdr (oref context bounds))) | 2016 | (goto-char (cdr (oref context bounds))) |
| 2019 | (concat prompt (mapconcat 'identity syms ".") | 2017 | (concat prompt (mapconcat 'identity syms ".") |
| @@ -2037,7 +2035,6 @@ completion works." | |||
| 2037 | (if (not context) (setq context (semantic-analyze-current-context (point)))) | 2035 | (if (not context) (setq context (semantic-analyze-current-context (point)))) |
| 2038 | (if (not context) (error "Nothing to complete on here")) | 2036 | (if (not context) (error "Nothing to complete on here")) |
| 2039 | (let* ((collector (semantic-collector-analyze-completions | 2037 | (let* ((collector (semantic-collector-analyze-completions |
| 2040 | "inline" | ||
| 2041 | :buffer (oref context buffer) | 2038 | :buffer (oref context buffer) |
| 2042 | :context context)) | 2039 | :context context)) |
| 2043 | (syms (semantic-ctxt-current-symbol (point))) | 2040 | (syms (semantic-ctxt-current-symbol (point))) |
| @@ -2064,9 +2061,8 @@ completion works." | |||
| 2064 | ;; There are several options. Do the completion. | 2061 | ;; There are several options. Do the completion. |
| 2065 | (semantic-complete-inline-tag-engine | 2062 | (semantic-complete-inline-tag-engine |
| 2066 | collector | 2063 | collector |
| 2067 | (funcall semantic-complete-inline-analyzer-displayor-class | 2064 | (funcall semantic-complete-inline-analyzer-displayor-class) |
| 2068 | "inline displayor") | 2065 | ;;(semantic-displayor-tooltip) |
| 2069 | ;;(semantic-displayor-tooltip "simple") | ||
| 2070 | (oref context buffer) | 2066 | (oref context buffer) |
| 2071 | (car (oref context bounds)) | 2067 | (car (oref context bounds)) |
| 2072 | (cdr (oref context bounds)) | 2068 | (cdr (oref context bounds)) |
diff --git a/lisp/cedet/semantic/db-javascript.el b/lisp/cedet/semantic/db-javascript.el index c58c295cd5c..789614d511a 100644 --- a/lisp/cedet/semantic/db-javascript.el +++ b/lisp/cedet/semantic/db-javascript.el | |||
| @@ -98,7 +98,7 @@ See bottom of this file for instructions on managing this list.") | |||
| 98 | ;; Create the database, and add it to searchable databases for javascript mode. | 98 | ;; Create the database, and add it to searchable databases for javascript mode. |
| 99 | (defvar-mode-local javascript-mode semanticdb-project-system-databases | 99 | (defvar-mode-local javascript-mode semanticdb-project-system-databases |
| 100 | (list | 100 | (list |
| 101 | (semanticdb-project-database-javascript "Javascript")) | 101 | (semanticdb-project-database-javascript)) |
| 102 | "Search javascript for symbols.") | 102 | "Search javascript for symbols.") |
| 103 | 103 | ||
| 104 | ;; NOTE: Be sure to modify this to the best advantage of your | 104 | ;; NOTE: Be sure to modify this to the best advantage of your |
| @@ -115,13 +115,13 @@ the omniscience database.") | |||
| 115 | "For a javascript database, there are no explicit tables. | 115 | "For a javascript database, there are no explicit tables. |
| 116 | Create one of our special tables that can act as an intermediary." | 116 | Create one of our special tables that can act as an intermediary." |
| 117 | ;; NOTE: This method overrides an accessor for the `tables' slot in | 117 | ;; NOTE: This method overrides an accessor for the `tables' slot in |
| 118 | ;; a database. You can either construct your own (like tmp here | 118 | ;; a database. You can either construct your own (like newtable here |
| 119 | ;; or you can manage any number of tables. | 119 | ;; or you can manage any number of tables. |
| 120 | 120 | ||
| 121 | ;; We need to return something since there is always the "master table" | 121 | ;; We need to return something since there is always the "master table" |
| 122 | ;; The table can then answer file name type questions. | 122 | ;; The table can then answer file name type questions. |
| 123 | (when (not (slot-boundp obj 'tables)) | 123 | (when (not (slot-boundp obj 'tables)) |
| 124 | (let ((newtable (semanticdb-table-javascript "tmp"))) | 124 | (let ((newtable (semanticdb-table-javascript))) |
| 125 | (oset obj tables (list newtable)) | 125 | (oset obj tables (list newtable)) |
| 126 | (oset newtable parent-db obj) | 126 | (oset newtable parent-db obj) |
| 127 | (oset newtable tags nil) | 127 | (oset newtable tags nil) |
diff --git a/lisp/cedet/semantic/db-ref.el b/lisp/cedet/semantic/db-ref.el index 8f20fee9545..7713a3cec53 100644 --- a/lisp/cedet/semantic/db-ref.el +++ b/lisp/cedet/semantic/db-ref.el | |||
| @@ -162,8 +162,7 @@ refreshed before dumping the result." | |||
| 162 | (let* ((tab semanticdb-current-table) | 162 | (let* ((tab semanticdb-current-table) |
| 163 | (myrefs (oref tab db-refs)) | 163 | (myrefs (oref tab db-refs)) |
| 164 | (myinc (semanticdb-includes-in-table tab)) | 164 | (myinc (semanticdb-includes-in-table tab)) |
| 165 | (adbc (semanticdb-ref-adebug "DEBUG" | 165 | (adbc (semanticdb-ref-adebug :i-depend-on myrefs |
| 166 | :i-depend-on myrefs | ||
| 167 | :local-table tab | 166 | :local-table tab |
| 168 | :i-include myinc))) | 167 | :i-include myinc))) |
| 169 | (data-debug-new-buffer "*References ADEBUG*") | 168 | (data-debug-new-buffer "*References ADEBUG*") |
diff --git a/lisp/cedet/semantic/debug.el b/lisp/cedet/semantic/debug.el index d127b6465fe..4f05e599798 100644 --- a/lisp/cedet/semantic/debug.el +++ b/lisp/cedet/semantic/debug.el | |||
| @@ -361,7 +361,6 @@ Argument ONOFF is non-nil when we are entering debug mode. | |||
| 361 | (semantic-debug-current-interface | 361 | (semantic-debug-current-interface |
| 362 | (let ((parserb (semantic-debug-find-parser-source))) | 362 | (let ((parserb (semantic-debug-find-parser-source))) |
| 363 | (semantic-debug-interface | 363 | (semantic-debug-interface |
| 364 | "Debug Interface" | ||
| 365 | :parser-buffer parserb | 364 | :parser-buffer parserb |
| 366 | :parser-local-map (with-current-buffer parserb | 365 | :parser-local-map (with-current-buffer parserb |
| 367 | (current-local-map)) | 366 | (current-local-map)) |
diff --git a/lisp/cedet/semantic/ede-grammar.el b/lisp/cedet/semantic/ede-grammar.el index 617ad7867f5..8c36623b72f 100644 --- a/lisp/cedet/semantic/ede-grammar.el +++ b/lisp/cedet/semantic/ede-grammar.el | |||
| @@ -67,8 +67,7 @@ For Emacs Lisp, return addsuffix command on source files." | |||
| 67 | (ede-proj-makefile-sourcevar this)))))) | 67 | (ede-proj-makefile-sourcevar this)))))) |
| 68 | 68 | ||
| 69 | (defvar semantic-ede-source-grammar-wisent | 69 | (defvar semantic-ede-source-grammar-wisent |
| 70 | (ede-sourcecode "semantic-ede-grammar-source-wisent" | 70 | (ede-sourcecode :name "Wisent Grammar" |
| 71 | :name "Wisent Grammar" | ||
| 72 | :sourcepattern "\\.wy$" | 71 | :sourcepattern "\\.wy$" |
| 73 | :garbagepattern '("*-wy.el") | 72 | :garbagepattern '("*-wy.el") |
| 74 | ) | 73 | ) |
| @@ -80,13 +79,11 @@ For Emacs Lisp, return addsuffix command on source files." | |||
| 80 | 79 | ||
| 81 | (defvar semantic-ede-grammar-compiler-wisent | 80 | (defvar semantic-ede-grammar-compiler-wisent |
| 82 | (semantic-ede-grammar-compiler-class | 81 | (semantic-ede-grammar-compiler-class |
| 83 | "ede-emacs-wisent-compiler" | ||
| 84 | :name "emacs" | 82 | :name "emacs" |
| 85 | :variables '(("EMACS" . "emacs") | 83 | :variables '(("EMACS" . "emacs") |
| 86 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") | 84 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") |
| 87 | ("require" . "$(foreach r,$(1),(require (quote $(r))))")) | 85 | ("require" . "$(foreach r,$(1),(require (quote $(r))))")) |
| 88 | :rules (list (ede-makefile-rule | 86 | :rules (list (ede-makefile-rule |
| 89 | "elisp-inference-rule" | ||
| 90 | :target "%-wy.el" | 87 | :target "%-wy.el" |
| 91 | :dependencies "%.wy" | 88 | :dependencies "%.wy" |
| 92 | :rules '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ | 89 | :rules '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ |
| @@ -98,8 +95,7 @@ For Emacs Lisp, return addsuffix command on source files." | |||
| 98 | 95 | ||
| 99 | 96 | ||
| 100 | (defvar semantic-ede-source-grammar-bovine | 97 | (defvar semantic-ede-source-grammar-bovine |
| 101 | (ede-sourcecode "semantic-ede-grammar-source-bovine" | 98 | (ede-sourcecode :name "Bovine Grammar" |
| 102 | :name "Bovine Grammar" | ||
| 103 | :sourcepattern "\\.by$" | 99 | :sourcepattern "\\.by$" |
| 104 | :garbagepattern '("*-by.el") | 100 | :garbagepattern '("*-by.el") |
| 105 | ) | 101 | ) |
| @@ -107,13 +103,11 @@ For Emacs Lisp, return addsuffix command on source files." | |||
| 107 | 103 | ||
| 108 | (defvar semantic-ede-grammar-compiler-bovine | 104 | (defvar semantic-ede-grammar-compiler-bovine |
| 109 | (semantic-ede-grammar-compiler-class | 105 | (semantic-ede-grammar-compiler-class |
| 110 | "ede-emacs-wisent-compiler" | ||
| 111 | :name "emacs" | 106 | :name "emacs" |
| 112 | :variables '(("EMACS" . "emacs") | 107 | :variables '(("EMACS" . "emacs") |
| 113 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") | 108 | ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") |
| 114 | ("require" . "$(foreach r,$(1),(require (quote $(r))))")) | 109 | ("require" . "$(foreach r,$(1),(require (quote $(r))))")) |
| 115 | :rules (list (ede-makefile-rule | 110 | :rules (list (ede-makefile-rule |
| 116 | "elisp-inference-rule" | ||
| 117 | :target "%-by.el" | 111 | :target "%-by.el" |
| 118 | :dependencies "%.by" | 112 | :dependencies "%.by" |
| 119 | :rules '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ | 113 | :rules '("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) \ |
diff --git a/lisp/cedet/semantic/mru-bookmark.el b/lisp/cedet/semantic/mru-bookmark.el index bc8b1a9ef27..80844494c43 100644 --- a/lisp/cedet/semantic/mru-bookmark.el +++ b/lisp/cedet/semantic/mru-bookmark.el | |||
| @@ -166,7 +166,6 @@ We can't use the built-in ring data structure because we need | |||
| 166 | to delete some items from the ring when we don't have the data.") | 166 | to delete some items from the ring when we don't have the data.") |
| 167 | 167 | ||
| 168 | (defvar semantic-mru-bookmark-ring (semantic-bookmark-ring | 168 | (defvar semantic-mru-bookmark-ring (semantic-bookmark-ring |
| 169 | "Ring" | ||
| 170 | :ring (make-ring 20)) | 169 | :ring (make-ring 20)) |
| 171 | "The MRU bookmark ring. | 170 | "The MRU bookmark ring. |
| 172 | This ring tracks the most recent active tags of interest.") | 171 | This ring tracks the most recent active tags of interest.") |
diff --git a/lisp/cedet/semantic/scope.el b/lisp/cedet/semantic/scope.el index a2c68ed3a63..e653d0a03dc 100644 --- a/lisp/cedet/semantic/scope.el +++ b/lisp/cedet/semantic/scope.el | |||
| @@ -309,7 +309,7 @@ are from nesting data types." | |||
| 309 | (list searchname))) | 309 | (list searchname))) |
| 310 | (fullsearchname nil) | 310 | (fullsearchname nil) |
| 311 | 311 | ||
| 312 | (miniscope (semantic-scope-cache "mini")) | 312 | (miniscope (semantic-scope-cache)) |
| 313 | ptag) | 313 | ptag) |
| 314 | 314 | ||
| 315 | ;; Find the next entry in the referenced type for | 315 | ;; Find the next entry in the referenced type for |
| @@ -368,7 +368,7 @@ and PROTECTION is the level of protection offered by the relationship. | |||
| 368 | Optional SCOPETYPES are additional scoped entities in which our parent might | 368 | Optional SCOPETYPES are additional scoped entities in which our parent might |
| 369 | be found." | 369 | be found." |
| 370 | (let ((lineage nil) | 370 | (let ((lineage nil) |
| 371 | (miniscope (semantic-scope-cache "mini")) | 371 | (miniscope (semantic-scope-cache)) |
| 372 | ) | 372 | ) |
| 373 | (oset miniscope parents parents) | 373 | (oset miniscope parents parents) |
| 374 | (oset miniscope scope scopetypes) | 374 | (oset miniscope scope scopetypes) |
| @@ -644,7 +644,7 @@ whose tags can be searched when needed, OR it may be a scope object." | |||
| 644 | ;; We need to make a mini scope, and only include the misc bits | 644 | ;; We need to make a mini scope, and only include the misc bits |
| 645 | ;; that will help in finding the parent. We don't really need | 645 | ;; that will help in finding the parent. We don't really need |
| 646 | ;; to do any of the stuff related to variables and what-not. | 646 | ;; to do any of the stuff related to variables and what-not. |
| 647 | (setq tmpscope (semantic-scope-cache "mini")) | 647 | (setq tmpscope (semantic-scope-cache)) |
| 648 | (let* ( ;; Step 1: | 648 | (let* ( ;; Step 1: |
| 649 | (scopetypes (cons type (semantic-analyze-scoped-types (point)))) | 649 | (scopetypes (cons type (semantic-analyze-scoped-types (point)))) |
| 650 | (parents (semantic-analyze-scope-nested-tags (point) scopetypes)) | 650 | (parents (semantic-analyze-scope-nested-tags (point) scopetypes)) |
diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el index 7fe19324793..1fdfd104a5e 100644 --- a/lisp/cedet/semantic/texi.el +++ b/lisp/cedet/semantic/texi.el | |||
| @@ -378,7 +378,6 @@ Optional argument POINT is where to look for the environment." | |||
| 378 | (when prefix | 378 | (when prefix |
| 379 | (require 'semantic/analyze) | 379 | (require 'semantic/analyze) |
| 380 | (semantic-analyze-context | 380 | (semantic-analyze-context |
| 381 | "Context-for-texinfo" | ||
| 382 | :buffer (current-buffer) | 381 | :buffer (current-buffer) |
| 383 | :scope nil | 382 | :scope nil |
| 384 | :bounds bounds | 383 | :bounds bounds |
diff --git a/lisp/cedet/srecode/extract.el b/lisp/cedet/srecode/extract.el index 3e2c4ebd12c..276f2ace2f1 100644 --- a/lisp/cedet/srecode/extract.el +++ b/lisp/cedet/srecode/extract.el | |||
| @@ -88,7 +88,7 @@ the dictionary entries were for that block of text." | |||
| 88 | (save-restriction | 88 | (save-restriction |
| 89 | (narrow-to-region start end) | 89 | (narrow-to-region start end) |
| 90 | (let ((dict (srecode-create-dictionary t)) | 90 | (let ((dict (srecode-create-dictionary t)) |
| 91 | (state (srecode-extract-state "state")) | 91 | (state (srecode-extract-state)) |
| 92 | ) | 92 | ) |
| 93 | (goto-char start) | 93 | (goto-char start) |
| 94 | (srecode-extract-method template dict state) | 94 | (srecode-extract-method template dict state) |
diff --git a/lisp/cedet/srecode/map.el b/lisp/cedet/srecode/map.el index f885b49614d..1d419c93ba7 100644 --- a/lisp/cedet/srecode/map.el +++ b/lisp/cedet/srecode/map.el | |||
| @@ -270,7 +270,7 @@ if that file is NEW, otherwise assume the mode has not changed." | |||
| 270 | (if (not srecode-map-save-file) | 270 | (if (not srecode-map-save-file) |
| 271 | ;; 0) Create a MAP when in no save file mode. | 271 | ;; 0) Create a MAP when in no save file mode. |
| 272 | (when (not srecode-current-map) | 272 | (when (not srecode-current-map) |
| 273 | (setq srecode-current-map (srecode-map "SRecode Map")) | 273 | (setq srecode-current-map (srecode-map)) |
| 274 | (message "SRecode map created in non-save mode.") | 274 | (message "SRecode map created in non-save mode.") |
| 275 | ) | 275 | ) |
| 276 | 276 | ||
| @@ -290,8 +290,7 @@ if that file is NEW, otherwise assume the mode has not changed." | |||
| 290 | (error "Change your SRecode map file")))) | 290 | (error "Change your SRecode map file")))) |
| 291 | ;; Have a dir. Make the object. | 291 | ;; Have a dir. Make the object. |
| 292 | (setq srecode-current-map | 292 | (setq srecode-current-map |
| 293 | (srecode-map "SRecode Map" | 293 | (srecode-map :file srecode-map-save-file))) |
| 294 | :file srecode-map-save-file))) | ||
| 295 | 294 | ||
| 296 | ;; 2) Do we not have a current map? If so load. | 295 | ;; 2) Do we not have a current map? If so load. |
| 297 | (when (not srecode-current-map) | 296 | (when (not srecode-current-map) |
| @@ -301,8 +300,7 @@ if that file is NEW, otherwise assume the mode has not changed." | |||
| 301 | (error | 300 | (error |
| 302 | ;; There was an error loading the old map. Create a new one. | 301 | ;; There was an error loading the old map. Create a new one. |
| 303 | (setq srecode-current-map | 302 | (setq srecode-current-map |
| 304 | (srecode-map "SRecode Map" | 303 | (srecode-map :file srecode-map-save-file)))) |
| 305 | :file srecode-map-save-file)))) | ||
| 306 | ) | 304 | ) |
| 307 | 305 | ||
| 308 | ) | 306 | ) |
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index ef1d9e37c05..6c269e0d914 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el | |||
| @@ -494,7 +494,7 @@ section or ? for an ask variable." | |||
| 494 | (let* ((macroend (match-beginning 0)) | 494 | (let* ((macroend (match-beginning 0)) |
| 495 | (raw (buffer-substring-no-properties | 495 | (raw (buffer-substring-no-properties |
| 496 | macrostart macroend)) | 496 | macrostart macroend)) |
| 497 | (STATE (srecode-compile-state "TMP")) | 497 | (STATE (srecode-compile-state)) |
| 498 | (inserter (condition-case nil | 498 | (inserter (condition-case nil |
| 499 | (srecode-compile-parse-inserter | 499 | (srecode-compile-parse-inserter |
| 500 | raw STATE) | 500 | raw STATE) |
| @@ -605,7 +605,6 @@ section or ? for an ask variable." | |||
| 605 | 605 | ||
| 606 | (setq context-return | 606 | (setq context-return |
| 607 | (semantic-analyze-context-functionarg | 607 | (semantic-analyze-context-functionarg |
| 608 | "context-for-srecode" | ||
| 609 | :buffer (current-buffer) | 608 | :buffer (current-buffer) |
| 610 | :scope scope | 609 | :scope scope |
| 611 | :bounds bounds | 610 | :bounds bounds |