Negating an Infinitive

A present infinitive is negated by putting the entire negative expression before the infinitive:

Je lui ai dit de ne pas fumer. (I told him not to smoke.)

Il a décidé de ne rien manger. (He decided not to eat anything.)

Ne pas marcher sur le gazon. (Don't walk on the grass.)