From 732c525eaa6dda2f0b16159973414c8ee2c81ee7 Mon Sep 17 00:00:00 2001 From: "Jose A. Ortega Ruiz" Date: Sun, 11 Jan 2009 14:29:55 +0100 Subject: [PATCH] FUEL: Fix for indentation after brace-words. --- misc/fuel/fuel-syntax.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/misc/fuel/fuel-syntax.el b/misc/fuel/fuel-syntax.el index 384838af12..e8c5d296ad 100644 --- a/misc/fuel/fuel-syntax.el +++ b/misc/fuel/fuel-syntax.el @@ -63,12 +63,12 @@ "UNION:" "USE:" "USING:" "VARS:")) -(defconst fuel-syntax--bracers - '("B" "BV" "C" "CS" "H" "T" "V" "W")) - (defconst fuel-syntax--parsing-words-regex (regexp-opt fuel-syntax--parsing-words 'words)) +(defconst fuel-syntax--bracers + '("B" "BV" "C" "CS" "H" "T" "V" "W")) + (defconst fuel-syntax--brace-words-regex (format "%s{" (regexp-opt fuel-syntax--bracers t))) @@ -216,8 +216,7 @@ (" \\(|\\) " (1 "(|")) (" \\(|\\)$" (1 ")")) ;; Opening brace words: - (,(format "\\_<%s\\({\\)\\_>" (regexp-opt fuel-syntax--bracers)) (1 "(}")) - ("\\_<\\({\\)\\_>" (1 "(}")) + ("\\_<\\w*\\({\\)\\_>" (1 "(}")) ("\\_<\\(}\\)\\_>" (1 "){")) ;; Parenthesis: ("\\_<\\((\\)\\_>" (1 "()"))