FUEL: () and (()) are paren syntax only when surronded by word boundaries.

db4
Jose A. Ortega Ruiz 2009-03-13 23:17:31 +01:00
parent 121b3aa382
commit 22ee146b60
1 changed files with 2 additions and 2 deletions

View File

@ -240,8 +240,6 @@
(modify-syntax-entry ?\r " " table)
(modify-syntax-entry ?\ " " table)
(modify-syntax-entry ?\n " " table)
(modify-syntax-entry ?\( "()" table)
(modify-syntax-entry ?\) ")(" table)
table))
(defconst fuel-syntax--syntactic-keywords
@ -278,6 +276,8 @@
;; Parenthesis:
("\\_<\\((\\)\\_>" (1 "()"))
("\\_<\\()\\)\\_>" (1 ")("))
("\\_<(\\((\\)\\_>" (1 "()"))
("\\_<\\()\\))\\_>" (1 ")("))
;; Quotations:
("\\_<'\\(\\[\\)\\_>" (1 "(]")) ; fried
("\\_<\\(\\[\\)\\_>" (1 "(]"))