Index: trunk/phase3/includes/libs/JavaScriptMinifier.php |
— | — | @@ -489,7 +489,7 @@ |
490 | 490 | ) { |
491 | 491 | // Hex numeric literal |
492 | 492 | $end++; // x or X |
493 | | - $end += strspn( $s, '0123456789ABCDEF', $end ); |
| 493 | + $end += strspn( $s, '0123456789ABCDEFabcdef', $end ); |
494 | 494 | // @fixme if no hex digits, parse error |
495 | 495 | } elseif( |
496 | 496 | ctype_digit( $ch ) |
— | — | @@ -505,7 +505,7 @@ |
506 | 506 | } |
507 | 507 | $exponent = strspn( $s, 'eE', $end ); |
508 | 508 | if( $exponent ) { |
509 | | - $end += $exponent;; |
| 509 | + $end += $exponent; |
510 | 510 | // + sign is optional; - sign is required. |
511 | 511 | $end += strspn( $s, '-+', $end ); |
512 | 512 | $end += strspn( $s, '0123456789', $end ); |