]> git.ipfire.org Git - thirdparty/git.git/blobdiff - userdiff.c
Sync with maint
[thirdparty/git.git] / userdiff.c
index 324916f20ff54de4d2352d42e26b3927f2ab40c1..efbe05e5a5b6f1aa9a6b92365a4f987f6078dc04 100644 (file)
@@ -34,8 +34,9 @@ PATTERNS("dts",
         "|[-+*/%&^|!~]|>>|<<|&&|\\|\\|"),
 PATTERNS("elixir",
         "^[ \t]*((def(macro|module|impl|protocol|p)?|test)[ \t].*)$",
+        /* -- */
         /* Atoms, names, and module attributes */
-        "|[@:]?[a-zA-Z0-9@_?!]+"
+        "[@:]?[a-zA-Z0-9@_?!]+"
         /* Numbers with specific base */
         "|[-+]?0[xob][0-9a-fA-F]+"
         /* Numbers */