[gtksourceview] octave.lang: update for the new simpler rules of double strings (same as C string)



commit 282f14330995aaa47f0f9d9192b84ff96f9edb52
Author: Carnë Draug <carandraug+dev gmail com>
Date:   Tue Sep 1 15:42:09 2015 +0100

    octave.lang: update for the new simpler rules of double strings (same as C string)

 data/language-specs/octave.lang |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/data/language-specs/octave.lang b/data/language-specs/octave.lang
index 221c781..4b276e8 100644
--- a/data/language-specs/octave.lang
+++ b/data/language-specs/octave.lang
@@ -86,19 +86,6 @@
       </include>
     </context>
 
-    <context id="double-quoted-string" style-ref="string"
-             end-at-line-end="true" class="string"
-             class-disabled="no-spell-check">
-      <start>"</start>
-      <end>"</end>
-      <include>
-         <!-- octave uses the same printf format and escape chars as C -->
-        <context ref="c:printf"/>
-        <context ref="c:escaped-character"/>
-        <context ref="line-continue"/>
-      </include>
-    </context>
-
     <context id="single-quoted-string" style-ref="string"
              end-at-line-end="true" class="string"
              class-disabled="no-spell-check">
@@ -1751,7 +1738,7 @@
         <context ref="block-comment"/>
         <context ref="line-comment"/>
         <context ref="line-continue"/>
-        <context ref="double-quoted-string"/>
+        <context ref="c:string"/>
         <context ref="single-quoted-string"/>
         <context ref="operator"/>
         <context ref="data-type"/>


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