Permalink
Browse files

Tweak the label regex for smali-mode.

  • Loading branch information...
1 parent 3383851 commit 6516b3bd78e4d7dbfa6ece1a4fcf43ae944cecb4 @nelhage committed Jan 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ddx.el
View
2 ddx.el
@@ -174,7 +174,7 @@
(defun smali-mode ()
(interactive)
- (let ((ddx-label-re "^\s *:\\([a-zA-Z0-9_]+\\)"))
+ (let ((ddx-label-re "\\s :\\([a-zA-Z0-9_]+\\)"))
(ddx-mode)))
(add-to-list 'auto-mode-alist (cons "\\.ddx$" 'ddx-mode))

0 comments on commit 6516b3b

Please sign in to comment.