Added simple errors for parser