Added EOF definition to arithmetic parser