Commit 763c4ef3 authored by ddkilzer@apple.com's avatar ddkilzer@apple.com
Browse files

Bug 21831: Fix create_hash_table for Perl 5.10

        <https://bugs.webkit.org/show_bug.cgi?id=21831>

        Reviewed by Sam Weinig.

        * kjs/create_hash_table: Escaped square brackets so that Perl 5.10
        doesn't try to use @nameEntries.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bce3fd68
2008-10-23 David Kilzer <ddkilzer@apple.com>
Bug 21831: Fix create_hash_table for Perl 5.10
<https://bugs.webkit.org/show_bug.cgi?id=21831>
Reviewed by Sam Weinig.
* kjs/create_hash_table: Escaped square brackets so that Perl 5.10
doesn't try to use @nameEntries.
2008-10-23 Darin Adler <darin@apple.com>
- roll out https://bugs.webkit.org/show_bug.cgi?id=21732
......
......@@ -215,7 +215,7 @@ sub output() {
print "\nnamespace JSC {\n";
}
my $count = scalar @keys + 1;
print "\nstatic const struct HashTableValue ${nameEntries}[$count] = {\n";
print "\nstatic const struct HashTableValue ${nameEntries}\[$count\] = {\n";
my $i = 0;
foreach my $key (@keys) {
my $firstValue = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment