|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: 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. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
|
|
|
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
|
|