Re: [CEDET-devel] srecode template for C
Brought to you by:
zappo
From: Norman W. <no...@no...> - 2012-09-13 21:12:34
|
On 13.09.2012 21:01, David Engster wrote: > Eric M. Ludlam writes: >> I took a stab at splitting cpp.srt out so there is now a c.srt >> template file. I updated the srecode/cpp support to include a :c >> argument for templates, and for code generation. >> >> It all worked. Nifty! I therefore updated the test suite, and >> checked all that in. > I'm afraid the integrations tests now fail. (I've updated Buildbot > recently and the bzr-poller currently doesn't work due to a bug, which > is why I have to start it manually). > > Debugger entered--Lisp error: (error "No Template named file:empty") > signal(error ("No Template named file:empty")) > error("No Template named %s" "file:empty") > srecode-insert("file:empty") > apply(srecode-insert "file:empty" nil) > (let ((post-empty-tags nil)) (find-file (cit-file filename)) (srecode-load-tables-for-mode major-mode) (semantic-mode 1) (condition-case nil (erase-buffer) (error nil)) (apply (quote srecode-insert) "file:empty" empty-dict-entries) (save-excursion (goto-char ...) (insert "\n\n")) (setq post-empty-tags (semantic-fetch-tags)) (sit-for 0) (cit-srecode-insert-taglist tags) (cit-srecode-verify-tags (semantic-fetch-tags) tags post-empty-tags)) > cit-srecode-fill-with-stuff("include/foo.hpp" (("foo" type (:members ... :type "class") nil nil))) > cit-srecode-fill-cpp("Make") > (let ((ede-auto-add-method ...)) (global-ede-mode 1) (cit-make-dir cedet-integ-base) (cit-make-dir cedet-integ-target) (cit-make-dir (cit-file "src")) (cit-make-dir (cit-file "lib")) (cit-make-dir (cit-file "include")) (cit-make-dir (cit-file "uml")) (find-file (expand-file-name "README" cedet-integ-target)) (ede-new make-type "CEDET_Integ_Test_Project") (cit-srecode-fill-cpp make-type) (cit-fill-uml make-type) (cit-remove-add-to-project-cpp) (when (string= make-type "Automake") (cit-remove-and-do-shared-lib make-type)) (cit-symref) (cit-externaldb-test) (cit-srecode-map-test) (cit-srecode-fill-el make-type) (cit-srecode-fill-texi) (cit-proj-variables) (find-file (expand-file-name "README" cedet-integ-target)) (cit-make-dist) (cit-finish-message "PASSED" make-type)) > cedet-integ-test-proj("Make") > cedet-integ-test-Make() > command-line-1(("-l" "cedet-devel-load.el" "-l" "tests/cit-load.el" "-f" "toggle-debug-on-error" "-f" "toggle-debug-on-quit" "--eval" "(setq ede-project-directories t)" "-f" "cedet-integ-test-Make")) > command-line() > normal-top-level() > > -David > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cedet-devel mailing list > Ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-devel > Maybe c.srt is just not under version control. I updated right now and can't find it. Norman |