This PR fixes #2514, and also simplifies enumerator construction in the parser.
We currently have 2 separate constructors for them, one which takes an explicit value parameter and one that doesn't.
I merged them into a single constructor which takes an optional now.
As always, feel free to ignore the generated Grammar.cpp file.
This PR fixes #2514, and also simplifies enumerator construction in the parser.
We currently have 2 separate constructors for them, one which takes an explicit
value
parameter and one that doesn't. I merged them into a single constructor which takes an optional now.As always, feel free to ignore the generated
Grammar.cpp
file.