ICU-2135 Make the memory read only
X-SVN-Rev: 10678
This commit is contained in:
parent
a4393f8db9
commit
24022e58e0
@ -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";
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user