Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed Sep 20, 2006 8:31 pm   

[1.06] Bug with comments
 
I noticed this while looking for another bug. The // comments seem to not be handlec correctly. The C++ way to handle // comments is to ignore all characters after the // until a new line is reached. In zMUD it appears that some special characters aren't properly ignored.

E.g
// }

That is a comment followed by a whitespace followed by a closing bracket. It will result in a "extra brace at row 0 col 3" error when doing Tools->Check Syntax.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Sep 20, 2006 8:32 pm   
 
Hmm, strange, it's *supposed* to scan until the newline and ignore it all. But I've added this to the (growing) bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net