Think I got it now. \dot{q} is not a function of q, it's only a function of the variable t. Being so, if we partially derivate L(q,\dot{q},t) w.r.t to \epsilon we know that the partial derivatives w.r.t. to q(i.e.\frac{\partial L}{\partial q}) will "see \dot{q} as constants" and vice versa, just...