Re: [hlds] Re: bug in srcds and hlds

2006-06-13 Thread Roman Hatsiev
It seems that both - my initial question and my answer to you were not precise. Let me try to provide better wording for my point. Your example shows comment statement which, as any other statement, requires ending semicolon. It cannot be terminated with end of line. On other hand C++-style single

Re: [hlds] Re: bug in srcds and hlds

2006-06-12 Thread Team Pfeffer
Don't be thrown by the quotes - they're not required. If you want to get pedantic, let's go with ALGOL-60, and quote the commands instead: 'comment' anything after comment is a comment; 'integer' a, b; I knew you'd bristle at the answer, but I thought you'd have picked on the semi-colon. Oh well

Re: [hlds] Re: bug in srcds and hlds

2006-06-12 Thread Roman Hatsiev
Nice try, Bobby, but your example does not fit into my question since comment here requires ending quote, in other words - special closing tag I mentioned before. Sorry. Anyway, I give up. Alfred, thanks for your response. Your reason is good and I'm ready to accept it though I don't think that

Re: [hlds] Re: bug in srcds and hlds

2006-06-11 Thread Team Pfeffer
Ok, I'll bite. Here's an example of a single-line comment which terminates on anything other than an end of line: comment "my comment"; begin integer a, b (...) the language is ALGOL. Comments terminate on semi-colons. I hope you'll keep your end of the deal. -bobby p.s. Sorry for disturbing

RE: [hlds] Re: bug in srcds and hlds

2006-06-11 Thread Alfred Reynolds
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 f

RE: [hlds] Re: bug in srcds and hlds

2006-06-11 Thread Dustin Tuft
-- [ Picked text/plain from multipart/alternative ] 15 years, I should say you should be giving us examples, I can think of a few, but the most prevalent to this would have to be Valves common input/output function (Notice: I am not referring to a programming language here, because this is not d

Re: [hlds] Re: bug in srcds and hlds

2006-06-11 Thread thyb0
Kevin Harrison wrote: > -- > [ Picked text/plain from multipart/alternative ] > It's definately not a bug. Semicolons are used in unix to terminate lines. > > hostname "my server";sv_password scrim;sv_maxupdaterate 100;mp_timelimit 60; > > above is the same exact thing as below > > hostname "my ser

Re: [hlds] Re: bug in srcds and hlds

2006-06-11 Thread Kevin Harrison
-- [ Picked text/plain from multipart/alternative ] It's definately not a bug. Semicolons are used in unix to terminate lines. hostname "my server";sv_password scrim;sv_maxupdaterate 100;mp_timelimit 60; above is the same exact thing as below hostname "my server" sv_password scrim sv_maxupdatera

Re: [hlds] Re: bug in srcds and hlds

2006-06-10 Thread Whisper
-- [ Picked text/plain from multipart/alternative ] It's not a bug, it's a FEATURE! :D On 6/11/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

Re: [hlds] Re: bug in srcds and hlds

2006-06-10 Thread Chris Bass
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