summaryrefslogtreecommitdiffstats
path: root/generic/regc_lex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 22:05:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 22:05:13 (GMT)
commit75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66 (patch)
tree814ee209e61f54111244c35e8c6d95ce48508163 /generic/regc_lex.c
parenteaa13cf52586163655438eb6476745a85dbc34d5 (diff)
parentbb146c387f42e478b1d8ffbc8617988fb572587c (diff)
downloadtcl-75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66.zip
tcl-75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66.tar.gz
tcl-75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66.tar.bz2
make some more internal tables const
a few CONST -> const changes
Diffstat (limited to 'generic/regc_lex.c')
-rw-r--r--generic/regc_lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/regc_lex.c b/generic/regc_lex.c
index bc61e14..8d07c59 100644
--- a/generic/regc_lex.c
+++ b/generic/regc_lex.c
@@ -742,10 +742,10 @@ lexescape(
struct vars *v)
{
chr c;
- static chr alert[] = {
+ static const chr alert[] = {
CHR('a'), CHR('l'), CHR('e'), CHR('r'), CHR('t')
};
- static chr esc[] = {
+ static const chr esc[] = {
CHR('E'), CHR('S'), CHR('C')
};
const chr *save;
@@ -1135,7 +1135,7 @@ newline(void)
static const chr *
ch(void)
{
- static chr chstr[] = { CHR('c'), CHR('h'), CHR('\0') };
+ static const chr chstr[] = { CHR('c'), CHR('h'), CHR('\0') };
return chstr;
}