Browse Source

Make special_chars[] const

Andrew V. Samoilov 22 years ago
parent
commit
6caf652ea6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      slang/sltoken.c

+ 1 - 1
slang/sltoken.c

@@ -35,7 +35,7 @@
 
 /* There are non-zeros at positions "\t %()*,/:;[]{}" */
 
-static unsigned char special_chars[256] =
+static const unsigned char special_chars[256] =
 {
    /* 0 */	0,0,0,0,0,0,0,0,	0,'\t',0,0,0,0,0,0,
    /* 16 */	0,0,0,0,0,0,0,0,	0,0,0,0,0,0,0,0,