ICU-2135 Make the memory read only

X-SVN-Rev: 10678
This commit is contained in:
George Rhoten 2002-12-14 09:05:34 +00:00
parent a4393f8db9
commit 24022e58e0
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ print " };\n";
#
# This array is used for producing debugging output from the rule parser.
#
print "static const char *RBBIRuleStateNames[] = {";
print "static const char * const RBBIRuleStateNames[] = {";
for ($state=0; $state<$num_states; $state++) {
if ($stateNames[$state] ne "") {
print " \"$stateNames[$state]\",\n";

View File

@ -160,7 +160,7 @@ static const struct RBBIRuleTableEl gRuleParseStateTable[] = {
, {doRuleErrorAssignExpr, 255, 86,0, FALSE} // 85
, {doExit, 255, 86,0, TRUE} // 86 errorDeath
};
static const char *RBBIRuleStateNames[] = { 0,
static const char * const RBBIRuleStateNames[] = { 0,
"start",
0,
0,