diff options
| author | Stefan Monnier | 2025-04-06 17:25:43 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2025-04-06 17:25:43 -0400 |
| commit | 3723aabe504a95bf6c5a8aa9ce34d967ca37a159 (patch) | |
| tree | b32169b6876595c8a08ff16bbb3caf97c8c00b74 /lisp/cedet/srecode/insert.el | |
| parent | ba13e7de32d08028ab7bffdd73dab271a95ea453 (diff) | |
| download | emacs-scratch/cedet-object-name.tar.gz emacs-scratch/cedet-object-name.zip | |
cedet: Fix some remaining uses of obsolete object-name argscratch/cedet-object-name
* lisp/cedet/srecode/compile.el (srecode-compile-templates):
Delete obsolete object-name argument to `srecode-compile-state` and
`srecode-dictionary-compound-variable` constructors.
(srecode-compile-one-template-tag, srecode-compile-inserter):
Pass object name via explicit `:object-name` arg to `srecode-template`,
`srecode-template-inserter-variable`, and children of `srecode-template`.
* lisp/cedet/srecode/cpp.el (srecode-semantic-apply-tag-to-dict)
(srecode-c-apply-templates): Delete obsolete object-name argument to
`srecode-semantic-tag` constructors.
* lisp/cedet/srecode/dictionary.el (srecode-dictionary-add-entries)
(srecode-compound-toString): Delete obsolete object-name argument to
`srecode-dictionary-compound-variable` and `srecode-field` constructors.
* lisp/cedet/srecode/insert.el (srecode-insert-method-field):
Delete obsolete object-name argument to `srecode-field-value` constructor.
(srecode-parse-input): Pass object name via explicit `:object-name` arg
to `srecode-template`.
* lisp/cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
(srecode-semantic-insert-tag, srecode-semantic-apply-tag-to-dict-default):
Delete obsolete object-name argument to `srecode-semantic-tag` constructors.
* lisp/cedet/srecode/table.el (srecode-mode-table-new): Delete
obsolete object-name argument to `srecode-template-table` constructor.
* lisp/emacs-lisp/eieio-base.el (make-instance):
Emit warning unconditionally.
Diffstat (limited to 'lisp/cedet/srecode/insert.el')
| -rw-r--r-- | lisp/cedet/srecode/insert.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/cedet/srecode/insert.el b/lisp/cedet/srecode/insert.el index 2e70469fa39..ab6ab986f6a 100644 --- a/lisp/cedet/srecode/insert.el +++ b/lisp/cedet/srecode/insert.el | |||
| @@ -648,8 +648,7 @@ Use DICTIONARY to resolve values." | |||
| 648 | Use DICTIONARY to resolve values." | 648 | Use DICTIONARY to resolve values." |
| 649 | (let* ((default (srecode-insert-ask-default sti dictionary)) | 649 | (let* ((default (srecode-insert-ask-default sti dictionary)) |
| 650 | (compound-value | 650 | (compound-value |
| 651 | (srecode-field-value (oref sti object-name) | 651 | (srecode-field-value :firstinserter sti |
| 652 | :firstinserter sti | ||
| 653 | :defaultvalue default)) | 652 | :defaultvalue default)) |
| 654 | ) | 653 | ) |
| 655 | ;; Return this special compound value as the thing to insert. | 654 | ;; Return this special compound value as the thing to insert. |
| @@ -863,7 +862,7 @@ Return the remains of INPUT." | |||
| 863 | (let* ((out (srecode-compile-split-code tag input STATE | 862 | (let* ((out (srecode-compile-split-code tag input STATE |
| 864 | (oref ins object-name)))) | 863 | (oref ins object-name)))) |
| 865 | (oset ins template (srecode-template | 864 | (oset ins template (srecode-template |
| 866 | (eieio-object-name-string ins) | 865 | :object-name (slot-value ins 'object-name) |
| 867 | :context nil | 866 | :context nil |
| 868 | :args nil | 867 | :args nil |
| 869 | :code (cdr out))) | 868 | :code (cdr out))) |