summaryrefslogtreecommitdiff
path: root/admin/grammars/wisent-grammar.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-11-26 10:10:36 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2011-11-26 10:10:36 +0100
commit509c74bd24fb1b32ccbe09be5ecb724590916e08 (patch)
treec6a902af0a6dc6d2f7ba6914c1fc24529baf3dd7 /admin/grammars/wisent-grammar.el
parent00db469c65f52f86402bcce684fe48ab5c612861 (diff)
downloademacs-509c74bd24fb1b32ccbe09be5ecb724590916e08.tar.gz
* grammars/bovine-grammar.el (auto-mode-alist): Change `$' to `\''
in regexp. (bovine-make-parsers): Likewise. Quote `.'. * grammars/wisent-grammar.el (auto-mode-alist): Change `$' to `\'' in regexp. (wisent-make-parsers): Likewise. Quote `.'.
Diffstat (limited to 'admin/grammars/wisent-grammar.el')
-rw-r--r--admin/grammars/wisent-grammar.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/grammars/wisent-grammar.el b/admin/grammars/wisent-grammar.el
index 98b0caee60b..66045c2294d 100644
--- a/admin/grammars/wisent-grammar.el
+++ b/admin/grammars/wisent-grammar.el
@@ -331,7 +331,7 @@ Menu items are appended to the common grammar menu.")
(grammar-setupcode-builder . wisent-grammar-setupcode-builder)
)))
-(add-to-list 'auto-mode-alist '("\\.wy$" . wisent-grammar-mode))
+(add-to-list 'auto-mode-alist '("\\.wy\\'" . wisent-grammar-mode))
(defvar-mode-local wisent-grammar-mode semantic-grammar-macros
'(
@@ -484,7 +484,7 @@ Menu items are appended to the common grammar menu.")
(semantic-mode 1)
;; Loop through each .wy file in current directory, and run
;; `semantic-grammar-batch-build-one-package' to build the grammar.
- (dolist (f (directory-files default-directory nil ".wy$"))
+ (dolist (f (directory-files default-directory nil "\\.wy\\'"))
(let ((packagename
(condition-case err
(with-current-buffer (find-file-noselect f)