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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Toxic
Adept


Joined: 27 May 2008
Posts: 299

PostPosted: Sat Jul 26, 2008 8:14 pm   

[2.33] Color Syntaxing Bug.. (Cosmetic Only)
 
when using the @dbvar.val syntax it only colors up to @dbvar. as the variable leaving the val uncolored. Kind of annoying sometimes.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 28, 2008 4:51 pm   
 
That is true. It's unfortunately just how the parser and syntax highlighting works. In the parser, the "val" part of your expression is just a normal string. In fact, if you look at the Compiled Code tab for this syntax in an alias, you will see that the generated code is:

VARREF dbvar
PUSHSTR val
DOT

So when the syntax highlighter sees this code, it colors "@dbvar" as a variable reference, but "val" as just normal text.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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