emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/tuareg 8c8d217 05/10: Simpler matching of ending line and


From: ELPA Syncer
Subject: [nongnu] elpa/tuareg 8c8d217 05/10: Simpler matching of ending line and character in compiler message
Date: Fri, 30 Jul 2021 16:57:27 -0400 (EDT)

branch: elpa/tuareg
commit 8c8d217bf1f4227b76da0c7f85371c38c091392d
Author: Mattias EngdegÄrd <mattiase@acm.org>
Commit: Mattias EngdegÄrd <mattiase@acm.org>

    Simpler matching of ending line and character in compiler message
    
    If there is no `-`, there won't be any number following.
---
 tuareg.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tuareg.el b/tuareg.el
index d6653d6..18a5044 100644
--- a/tuareg.el
+++ b/tuareg.el
@@ -3158,12 +3158,10 @@ Short cuts for interactions with the REPL:
        (backref 2)
        ", line" (? "s") " "
        (group (+ (in "0-9")))               ; 4: LINE-START
-       (? "-")
-       (? (group (+ (in "0-9"))))           ; 5; LINE-END
+       (? "-" (group (+ (in "0-9"))))       ; 5; LINE-END
        (? ", character" (? "s") " "
           (group (+ (in "0-9")))            ; 6: COL-START
-          (? "-")
-          (? (group (+ (in "0-9")))))       ; 7: COL-END
+          (? "-" (group (+ (in "0-9")))))   ; 7: COL-END
        ":")
       (? "\n"
          (* (in "\t "))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]