odin-lang / odin-lang.org

http://odin-lang.org
26 stars 80 forks source link

Compile-Command defines could be clearer #119

Closed Jack-Punter closed 1 year ago

Jack-Punter commented 1 year ago

The docs for compile-command defines come much earlier than that of #config, it should probably link to that part of the docs, or mention that the second arg is a default. If you just look at this part of the docs it the code looks like its saying when FOO == false do the thing (although the comment is correct).

Maybe im just a noob though :D

Skytrias commented 1 year ago

clarified it slightly in #126 hopefully it's clear enough now, otherwhise you can give an example if you want

Jack-Punter commented 1 year ago

Yeah, that's much more obvious now.