Skip Menu |

This queue is for tickets about the String-Comments-Extract CPAN distribution.

Report information
The Basics
Id: 63793
Status: rejected
Priority: 0/
Queue: String-Comments-Extract

People
Owner: Nobody in particular
Requestors: DOUGDUDE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Block comment as first character fails
It seems if there is a block comment that starts as the very first character (and this seems common on jQuery files and others with copyright blocks at the top) the parsers fails with "Unterminated block comment".
Subject: jquery.effects.blind.js
/* * jQuery UI Effects Blind 1.8.6 * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Effects/Blind * * Depends: * jquery.effects.core.js */ (function( $, undefined ) { $.effects.blind = function(o) { return this.queue(function() { // Create element var el = $(this), props = ['position','top','left']; // Set options var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode var direction = o.options.direction || 'vertical'; // Default direction // Adjust $.effects.save(el, props); el.show(); // Save & Show var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper var ref = (direction == 'vertical') ? 'height' : 'width'; var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width(); if(mode == 'show') wrapper.css(ref, 0); // Shift // Animation var animation = {}; animation[ref] = mode == 'show' ? distance : 0; // Animate wrapper.animate(animation, o.duration, o.options.easing, function() { if(mode == 'hide') el.hide(); // Hide $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore if(o.callback) o.callback.apply(el[0], arguments); // Callback el.dequeue(); }); }); }; })(jQuery);
On Fri Dec 10 03:31:27 2010, DOUGDUDE wrote: Show quoted text
> It seems if there is a block comment that starts as the very first > character (and this seems common on jQuery files and others with > copyright blocks at the top) the parsers fails with "Unterminated block > comment".
I'm sorry, false alarm.