Implement named character escapes, similar to Perl
commitde7d5f36e0f3261a7300fa3a3d87ae3b758b8a73
authorPhilipp Stephani <phst@google.com>
Thu, 21 Apr 2016 21:45:22 +0000 (21 14:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Apr 2016 02:29:40 +0000 (21 19:29 -0700)
treed929612c6d9ae099782dfe67b2d03041b9395a4f
parent7621a521452d988b27e761c76ad8e667e932192e
Implement named character escapes, similar to Perl

* lread.c (init_character_names): New function.
(read_escape): Read Perl-style named character escape sequences.
(syms_of_lread): Initialize new variable 'character_names'.
* test/src/lread-tests.el (lread-char-empty-name): Add test file
for src/lread.c.
src/lread.c
test/src/lread-tests.el [new file with mode: 0644]