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
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sat Apr 14, 2007 4:24 pm   

[1.27] Syntax check
 
The syntax checker and highlighting do not like the syntax @{a}

@{a}
Passes the syntax check but the } at the end is highlighted red. The color that one without a match is highlighted.

#if (1=1) {do @{a}
Highlights as if it is correct, but the syntax check gives the Illegal token error instead of the unmatched brace.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Apr 14, 2007 5:11 pm   
 
The code you posted is missing a brace.

I tried what you said, without the brace it errors as expected.

With the brace I didn't get any syntax errors. However if you click on one of the braces, the brace-pair highlighting is incorrect.
_________________
Asati di tempari!
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Sat Apr 14, 2007 5:24 pm   
 
Heh, I know the code was wrong. But i had to do that to get it to SHOW the bug Razz
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Apr 17, 2007 6:11 pm   
 
Added to 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