]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/fortran.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / fortran.yaml
index 956db2c0a3d41b2019f0cd64127b28ed6d6dae60..b30e5443cce5151f3afee8bb28677218c53a30f8 100644 (file)
@@ -43,13 +43,15 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "(?<!\\\\)'"
+        end: "'"
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."