Changeset 37819 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Oct 23, 2008, 12:24:48 PM (17 years ago)
Author:
[email protected]
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/create_hash_table

    r36977 r37819  
    216216    }
    217217    my $count = scalar @keys + 1;
    218     print "\nstatic const struct HashTableValue ${nameEntries}[$count] = {\n";
     218    print "\nstatic const struct HashTableValue ${nameEntries}\[$count\] = {\n";
    219219    my $i = 0;
    220220    foreach my $key (@keys) {
Note: See TracChangeset for help on using the changeset viewer.