Improve unescaped character literal warnings
commit16004397f40d15d9db6b90632c236c804f38fc40
authorPhilipp Stephani <phst@google.com>
Sat, 13 May 2017 10:28:48 +0000 (13 12:28 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 13 May 2017 10:28:48 +0000 (13 12:28 +0200)
tree96d42386b6d82f52c71724dd2148adb88eed0c52
parent0e09d00f29e370ecfe2f2b22acff7b98c448bc30
Improve unescaped character literal warnings

* src/lread.c (load_warn_unescaped_character_literals)
(syms_of_lread):
lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Improve
formatting of unescaped character literal warnings.

* test/src/lread-tests.el (lread-tests--unescaped-char-literals):
test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-tests--unescaped-char-literals): Adapt unit tests.
lisp/emacs-lisp/bytecomp.el
src/lread.c
test/lisp/emacs-lisp/bytecomp-tests.el
test/src/lread-tests.el