y-flat / yfc

The best (because it's the only) compiler for the Y-flat programming language.
GNU General Public License v3.0
6 stars 7 forks source link

Rename syntax tree enums to lower the chance of introducing typos. Close #71 #111

Closed dekrain closed 2 years ago

dekrain commented 2 years ago

One example is seen in #71. I also caught some more examples of this that went unnoticed. Hopefully the explicit names will eliminate the possibility of introducing such type of bug in the future.