Index: emacs/lisp/progmodes/flymake.el
diff -c emacs/lisp/progmodes/flymake.el:1.15 
emacs/lisp/progmodes/flymake.el:1.16
*** emacs/lisp/progmodes/flymake.el:1.15        Sat Apr 30 20:13:39 2005
--- emacs/lisp/progmodes/flymake.el     Mon May 16 11:26:54 2005
***************
*** 1004,1010 ****
               (line-idx (nth 2 (car patterns))))
  
          (setq raw-file-name (if file-idx (match-string file-idx line) nil))
!         (setq line-no       (if line-idx (string-to-int (match-string 
line-idx line)) 0))
          (setq err-text      (if (> (length (car patterns)) 4)
                                  (match-string (nth 4 (car patterns)) line)
                                (flymake-patch-err-text (substring line 
(match-end 0)))))
--- 1004,1010 ----
               (line-idx (nth 2 (car patterns))))
  
          (setq raw-file-name (if file-idx (match-string file-idx line) nil))
!         (setq line-no       (if line-idx (string-to-number (match-string 
line-idx line)) 0))
          (setq err-text      (if (> (length (car patterns)) 4)
                                  (match-string (nth 4 (car patterns)) line)
                                (flymake-patch-err-text (substring line 
(match-end 0)))))


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to