// e.g.: temp resourceHolder = (); // to : temp var resourceHolder = resourceHolder(); svoid tok_varNamedLikeFunction(LS tok) { jreplace(tok, "temp = ();", "temp var $2 = $2();"); }