diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-20 18:25:39 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-20 18:25:39 -0800 |
commit | b54a082a15e8f5218dcc43b2cf9a3bdd61c01908 (patch) | |
tree | 7981abac5c3172abd1cbe21736f9f023d46dc78e /parser.y | |
parent | 80b3d35e186e2d0cd7e4a2abe815e97cd8f764eb (diff) | |
download | txr-b54a082a15e8f5218dcc43b2cf9a3bdd61c01908.tar.gz txr-b54a082a15e8f5218dcc43b2cf9a3bdd61c01908.tar.bz2 txr-b54a082a15e8f5218dcc43b2cf9a3bdd61c01908.zip |
* parser.y (char_from_name): const on wchar_t *.
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -866,8 +866,8 @@ val rl(val form, val lineno) static wchar_t char_from_name(wchar_t *name) { static struct { - wchar_t *name; - wchar_t ch; + const wchar_t *name; + const wchar_t ch; } map[] = { { L"nul", 0 }, { L"alarm", L'\a' }, |