idaholab / MontePy

MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
https://www.montepy.org/
MIT License
32 stars 7 forks source link

Fixed parsing error with E0 #560

Closed MicahGale closed 1 month ago

MicahGale commented 1 month ago

Description

This fixes a parsing error with parsing E0. The issue is that 0 is a different token from other numbers. This is because sometimes a 0 changes the syntax rules. This changed it so that NULL could be used in a data input prefix as well.

Fixes #551

Checklist