;;; semantic/debug.el --- Language Debugger framework
-;; Copyright (C) 2003, 2004, 2005, 2008, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 2003-2005, 2008-2013 Free Software Foundation, Inc.
;; Author: Eric M. Ludlam <zappo@gnu.org>
"For IFACE, highlight NONTERM in the parser buffer.
NONTERM is the name of the rule currently being processed that shows up
as a nonterminal (or tag) in the source buffer.
-If RULE and MATCH indicies are specified, highlight those also."
+If RULE and MATCH indices are specified, highlight those also."
(set-buffer (oref iface :parser-buffer))
(let* ((rules (semantic-find-tags-by-class 'nonterminal (current-buffer)))
;; Install our map onto this buffer
(use-local-map semantic-debug-mode-map)
;; Make the buffer read only
- (toggle-read-only 1)
+ (setq buffer-read-only t)
(set-buffer (oref iface source-buffer))
;; Use our map in the source buffer also
(use-local-map semantic-debug-mode-map)
;; Make the buffer read only
- (toggle-read-only 1)
+ (setq buffer-read-only t)
;; Hooks
(run-hooks 'semantic-debug-mode-hook)
)
)
(defmethod semantic-debug-parser-go ((parser semantic-debug-parser))
- "Continue executiong in this PARSER until the next breakpoint."
+ "Continue execution in this PARSER until the next breakpoint."
(setq semantic-debug-user-command 'go)
)
(defmethod semantic-debug-parser-fail ((parser semantic-debug-parser))
- "Continue executiong in this PARSER until the next breakpoint."
+ "Continue execution in this PARSER until the next breakpoint."
(setq semantic-debug-user-command 'fail)
)
(defmethod semantic-debug-parser-quit ((parser semantic-debug-parser))
- "Continue executiong in this PARSER until the next breakpoint."
+ "Continue execution in this PARSER until the next breakpoint."
(setq semantic-debug-user-command 'quit)
)
(defmethod semantic-debug-parser-abort ((parser semantic-debug-parser))
- "Continue executiong in this PARSER until the next breakpoint."
+ "Continue execution in this PARSER until the next breakpoint."
(setq semantic-debug-user-command 'abort)
)
;; generated-autoload-load-name: "semantic/debug"
;; End:
-;; arch-tag: 6f189d2d-8a65-45a5-a7f0-9894625eb860
;;; semantic/debug.el ends here