[gtksourceview] perl: fix issue with here-doc when terminator was defined between parentheses



commit f067c8cea74959101ebf746ab08ff8476ccc624f
Author: Carnë Draug <carandraug+dev gmail com>
Date:   Fri Mar 29 04:27:14 2013 +0000

    perl: fix issue with here-doc when terminator was defined between parentheses

 data/language-specs/perl.lang |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/perl.lang b/data/language-specs/perl.lang
index c109420..2ae298d 100644
--- a/data/language-specs/perl.lang
+++ b/data/language-specs/perl.lang
@@ -556,7 +556,7 @@ FIXME: =pod should require an empty line before/after, as written in perlpod
 
     <!-- #### HEREDOC STRINGS ############################################# -->
 
-    <define-regex id="here-doc-bound-char">[^\s'"=;]</define-regex>
+    <define-regex id="here-doc-bound-char">[^\s'"=;)]</define-regex>
 
     <context id="here-doc-no-ve">
       <start>&lt;&lt;\'(?P&lt;HDB&gt;\%{here-doc-bound-char}*)\'</start>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]