diff options
| author | Lars Ingebrigtsen | 2021-02-01 17:04:17 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-02-01 17:04:17 +0100 |
| commit | e38e7b7bc121b96649518e5e986bba23697abc2d (patch) | |
| tree | 01229b2db2fe4617a2894919e6d09bffa8ef5ba8 /test/lisp/progmodes/ruby-mode-resources/ruby.rb | |
| parent | 3990716a97f48adc0a77250cdf5a2853f3f7f7e0 (diff) | |
| download | emacs-e38e7b7bc121b96649518e5e986bba23697abc2d.tar.gz emacs-e38e7b7bc121b96649518e5e986bba23697abc2d.zip | |
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.
Diffstat (limited to 'test/lisp/progmodes/ruby-mode-resources/ruby.rb')
0 files changed, 0 insertions, 0 deletions