dfmt
dfmt copied to clipboard
version (...): odd output
Using version (...):
, with a colon, causes weird output.
Input
version (Posix):
foo();
bar();
Output
version (Posix) : foo();
bar();
Purely guessing, but my guess is the colon not being considered, and dfmt acts the same way as in the following example
version (Posix)
foo();
bar();
becoming
version (Posix) foo();
bar();
@WebFreak001 This is causing me some trouble. If I were to try and fix this myself, where would you recommend me to start poking in the code to try and fix this?
oh yeah I was wanting to do it but didn't actually get around to it when I assigned myself.
I think the problem can be debugged by checking how the colon :
is handled: either the version (...)
is doing something special the other similar things aren't doing or it's all special cases.