codereport / jsource

J Language Source Code. Livestream links ⬇️
https://www.youtube.com/playlist?list=PLVFrD1dmDdvfVhYLU_iKkV67X9XqCJLWe
Other
38 stars 20 forks source link

Enums #108

Closed Sebanisu closed 3 years ago

Sebanisu commented 3 years ago

This is changing some of the macros to anonymous enum values. These can at least be syntax highlighted and don't seem to effect the code. Tests still pass. These can be given base types and scopes in c++11. I just was looking at this after work. Maybe later we can do more to this file. https://en.cppreference.com/w/cpp/language/enum related: https://github.com/codereport/jsource/issues/105, https://github.com/codereport/jsource/issues/97