]> git.eshelyaron.com Git - emacs.git/commit
Fix javac message parsing column number off-by-one
authorMattias Engdegård <mattiase@acm.org>
Fri, 6 Nov 2020 16:10:55 +0000 (17:10 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 6 Nov 2020 16:16:00 +0000 (17:16 +0100)
commit6e9564f09a223f1c3f964e04905ecb3f235fa2f5
treeb533bdc7e2f1714dfc729fb3a87f2ffec40f7fb2
parent6b77ad6e77a4812b05ee03360e853e0fcb822a96
Fix javac message parsing column number off-by-one

* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
'javac': Column numbers are 1-based by default; remove subtraction and
η-reduce.  Translate regexp to rx (mechanised).
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data):
Adapt 'javac' test cases to the change.
lisp/progmodes/compile.el
test/lisp/progmodes/compile-tests.el