10/10/07

Great bugs err alike

So as I've mentioned I'm working on a source-code formatter and it currently has this, uh, "feature" where it doesn't quite know the difference between a keyword and a class member of the same name. Given the input "MyClass.End" where End is a keyword, it will erroneously produce the output "MyClass.End" rather than "MyClass.End".

But today I noticed something which made me feel slightly less dumb about that. If you see the post of mine on the xna forums where I used the xna forums code posting tool, check out the 3rd-to-last line of the code block.

Perhaps the xna forum web programmer was drinking and watching TV while they wrote the code posting tool :)

0 comments: