[parrot/parrot] 403ca1: add char name lookup aliases (LF,FF,CR and NEL)
GitHub
noreply at github.com
Mon Jul 21 17:42:31 UTC 2014
Branch: refs/heads/master
Home: https://github.com/parrot/parrot
Commit: 403ca17491ea7b7bd730e87ba8e4fe7b9c7bed7f
https://github.com/parrot/parrot/commit/403ca17491ea7b7bd730e87ba8e4fe7b9c7bed7f
Author: Tobias Leich <email at froggs.de>
Date: 2014-07-21 (Mon, 21 Jul 2014)
Changed paths:
M src/string/namealias.c
M src/string/namealias_c.in
Log Message:
-----------
add char name lookup aliases (LF,FF,CR and NEL)
The Perl 6 spec and therefore roast says that e.g. \c[LF] is identical to
\c[LINE FEED (LF)]. MoarVM already got a similar patch:
https://github.com/MoarVM/MoarVM/commit/339d547cdd0bec45e2ac3f6d97fb6b9b77bdfce0
And it would be nice if Parrot would get this ability, otherwise we would
have to do it in a rather slowish way in nqp.
Closes GH #1085.
Signed-off-by: Reini Urban <rurban at cpanel.net>
More information about the parrot-commits
mailing list