[gtksourceview] rpmspec: make { } optional on macro names. Closes bug #656671
- From: David Miguel Susano Pinto <davidpinto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] rpmspec: make { } optional on macro names. Closes bug #656671
- Date: Thu, 8 Sep 2011 17:07:31 +0000 (UTC)
commit cfae9334a4e2ddc72a50ff646df1a1db0168563b
Author: Carnà Draug <carandraug+dev gmail com>
Date: Thu Sep 8 17:40:11 2011 +0100
rpmspec: make { } optional on macro names. Closes bug #656671
data/language-specs/rpmspec.lang | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/rpmspec.lang b/data/language-specs/rpmspec.lang
index c24d3a1..597e829 100644
--- a/data/language-specs/rpmspec.lang
+++ b/data/language-specs/rpmspec.lang
@@ -139,7 +139,7 @@
</context>
<context id="other-macro" style-ref="other-macro">
- <match>%\{[a-zA-Z][a-zA-Z0-9_]+\}</match>
+ <match>%\{?[a-zA-Z][a-zA-Z0-9_]+\}?</match>
</context>
<context id="flow" style-ref="flow-conditional">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]