how much diesel do you have when the light comes on?
Generally speaking, you will be able to drive between 30 and 50 (0r more) miles even after the light comes on. Which means that even if the gas light comes on, it may not be time to panic yet.