This behavior is by design, commands are tokenized on the ';' character as well as newlines. I believe this code actually came from the Quake 1 engine (it hasn't changed between HL1 and Source). This isn't a bug and I wouldn't want to change it at this point as we have millions of scripts written for our engines and we wouldn't want to break them for a semantic change.
- Alfred Roman Hatsiev wrote: > I would suggest leaving such decisions to Valve. > I found a problem, I reported it, that's all. > As a programmer I'm very familiar with temptation to classify bug as a > "feature" and even find some use for it but this is not right. > So let's just wait for Alfred's word on this. > > Regards, > > Roman > > > On 6/10/06, Chris Bass <[EMAIL PROTECTED]> wrote: >> None of us are denying it's unnatural but really, what's the point of >> going on about this one? It's not like .cfg files have size limit so >> I doubt anyone will run into this problem in real world situation. >> Your 15 year programmer so you should understand about bugs that are >> bugs but not worth the time to fix it because chance of user coming >> across the bug is extremely low. >> >> Roman Hatsiev wrote: >>> Gentlemen, >>> >>> As soon as you give me an example of single-line comment terminating >>> with anything else but end of line - I'll give up on this one. >>> >>> I appreciate your kind attempts to adapt me to this strange >>> behaviour but it won't work with fifteen years of my programming >>> background. Sorry. >>> >>> Regards, >>> >>> Roman >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list >>> archives, please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlds >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds