EVERY programming language defines it's own rules. I found Java, then PHP
unusual after starting with VB and VBSCRIPT, but I learned and accepted the
rules (grammar) of the language and pressed on. I figured it was better to
get the work done than to ask the world to change to accommodate me.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Roman Hatsiev
Sent: Saturday, June 10, 2006 11:37 AM
To: [email protected]
Subject: Re: [hlds] bug in srcds and hlds


My point is that in EVERY programming language which is using double
slashes for comments such comments are terminated by end of line and
nothing else.
Even more - in every case I can think of all comments which do not
have special closing tag (like /* ... */) are terminated with end of
line and nothing else.

I'm not looking for workaround for this problem. I state that this
behaviour is unnatural, counter-intuitive and should be fixed.

Regards,

Roman

On 10/06/06, Dustin Tuft <[EMAIL PROTECTED]> wrote:
> --
> [ Picked text/plain from multipart/alternative ]
> I am sorry, but that is not a bug, you have terminated the line and
anything after ; is treated as a new line.
>
> Try the following:
>
> // mp_timelimit 0;//echo timelimit setecho end of test.cfg
>
> I am not sure I see the point here, why would you stack lines in a cfg
file when you have as much room as you want?
>
> // mp_timelimit 0
> //echo timelimit setecho end of test.cfgDustin Tuft
>
>
>
> > From: [EMAIL PROTECTED]> To: [email protected]> Subject:
[hlds] bug in srcds and hlds> Date: Sat, 10 Jun 2006 20:36:37 +0400> > I
found very annoying and dangerous bug in both srcds and hlds.> To reproduce
it create test.cfg with the following content:> > ---> // mp_timelimit
0;echo timelimit set> echo end of test.cfg> ---> > And put it into
cstrike/cfg or into cstrike.> What output in the console we should have
after exec test.cfg?> Common sense says that it must be:> > end of test.cfg>
> But actually what we receive is:> > timelimit set> end of test.cfg> > Thus
comment in config files is not commenting everything till the end> of line
but up to first semicolon instead.> This behaviour is very unnatural and may
lead to very hard to isolate> issues with complicated config files.> Looking
forward to fix for this :)> > 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

Reply via email to