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


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Thu Sep 23, 2010 1:49 am   

[3.28-3.29] (Reformatting Issues) #IF formatting with script after {
 
Code:

<alias name="test_reformat" id="1651">
  <value>$val=1
#IF ($val) {#LOCAL $stuff
  #ADDKEY $stuff things "Things belongs in stuff."
  #show $stuff.things
  }</value>
</alias>


If you re-format this, it will go from:

Code:

$val=1
#IF ($val) {#LOCAL $stuff
  #ADDKEY $stuff things "Things belongs in stuff."
  #show $stuff.things
  }


to

Code:

$val=1
#IF ($val) {
#LOCAL $stuff
  #ADDKEY $stuff things "Things belongs in stuff."
  #show $stuff.things
  }


Funky, right? Re-format again and

Code:

$val=1
#IF ($val) {
  #LOCAL $stuff
  #ADDKEY $stuff things "Things belongs in stuff."
  #show $stuff.things
  }


Now it's fine.

Obviously not a real major issue, but it's the first reproducible issue I could find. I'm trying to reproduce a slightly larger issue I stumbled across, which causes illegal token errors after reformats. I'll post it when I find it.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Sep 23, 2010 3:17 am   
 
Confirmed and 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