rem: while (e.currentArgIndex < argc && e.unparsedData) { if (currentArg != ":") 
add: while (e.unparsedData) 
context: function parse_parseargsraw (e){    var argc = e.command.argNames.length;        function initOptionals()    {        for (var i = 0; i < argc; ++i)        {            if (e.command.argNames[i] != ":" &&                 e.command.argNames[i] != "..."  &&                 !(e.command.argNames[i] in e))            {                e[e.command.argNames[i]] = null;            }        }    }            if (e.inputData)    {        /* if data has been provided, parse it */        e.unparsedData = e.inputData;        var parseResult;        var currentArg;        e.currentArgIndex = 0;        currentArg = e.command.argNames[e.currentArgIndex];                while (e.currentArgIndex < argc && e.unparsedData)        {            if (currentArg != ":")            {                if (!this.parseArgument (e, currentArg))                    return false;            }            ++e.currentArgIndex;            currentArg = e.command.argNames[e.currentArgIndex];        }        if (e.currentArgIndex < argc && currentArg != ":")        {            /* parse loop completed because it ran out of data.  We haven't             * parsed all of the declared arguments, and we're not stopped             * at an optional marker, so we must be missing something             * required... */            e.parseError = getMsg(MSN_ERR_REQUIRED_PARAM,                                   e.command.argNames[e.currentArgIndex]);            return false;        }        if (e.unparsedData)        {            /* parse loop completed with unparsed data, which means we've             * successfully parsed all arguments declared.  Whine about the             * extra data... */            display (getMsg(MSN_EXTRA_PARAMS, e.unparsedData), MT_WARN);        }        else         {            /* we've got no unparsed data, and we're not missing a required             * argument, go back and fill in |null| for any optional arguments             * not present on the comand line. */            initOptionals();        }    }    else    {        /* if no data was provided, check to see if the event is good enough         * on its own. */        var rv = this.isCommandSatisfied (e);        if (rv)            initOptionals();        return rv;    }    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ee4dc3c8bb74661d4647778656962a3d08ca9fca/command-manager.js/buggy/extensions/venkman/resources/content/command-manager.js