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)
commitc6135146884f4b20a7dda117708475f8b999401a (patch)
tree814ee209e61f54111244c35e8c6d95ce48508163 /generic/regc_lex.c
parent421548b94bfbd446ade97d21beaf616879ca6a3f (diff)
parent7c0562b4a66a8c1d85f32b4ea92ef31ec8bbe2aa (diff)
downloadtcl-c6135146884f4b20a7dda117708475f8b999401a.zip
tcl-c6135146884f4b20a7dda117708475f8b999401a.tar.gz
tcl-c6135146884f4b20a7dda117708475f8b999401a.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;
}