summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-20 18:25:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-20 18:25:39 -0800
commitb54a082a15e8f5218dcc43b2cf9a3bdd61c01908 (patch)
tree7981abac5c3172abd1cbe21736f9f023d46dc78e /parser.y
parent80b3d35e186e2d0cd7e4a2abe815e97cd8f764eb (diff)
downloadtxr-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.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.y b/parser.y
index bc6ba4c1..ccef7e2c 100644
--- a/parser.y
+++ b/parser.y
@@ -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' },