]> git.eshelyaron.com Git - emacs.git/commit
Make syntax errors say the line/column they appear at
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Feb 2021 16:04:17 +0000 (17:04 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Feb 2021 16:04:17 +0000 (17:04 +0100)
commite38e7b7bc121b96649518e5e986bba23697abc2d
tree01229b2db2fe4617a2894919e6d09bffa8ef5ba8
parent3990716a97f48adc0a77250cdf5a2853f3f7f7e0
Make syntax errors say the line/column they appear at

* src/lisp.h: Add count_lines prototype.
* src/lread.c (invalid_syntax_lisp): New function (bug#36970).
(invalid_syntax): Extend function to take a readcharfun parameter.
(read_emacs_mule_char, character_name_to_code): Pass in.
(read_escape, invalid_radix_integer, read1): Ditto.

* src/xdisp.c (count_lines): Add a more succinct shim over
display_count_lines.
src/lisp.h
src/lread.c
src/xdisp.c