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
Tech
GURU


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

PostPosted: Sat Jan 20, 2007 6:53 pm   

[1.24] Minor parsing bug with Alias
 
When you execute the follow code on the command line:

#alias test2 {#VAR testvar test2 {} test}

The alias is created but the space between test2 and the {} is removed so the contents look like this:

#VAR testvar test2{} test
_________________
Asati di tempari!
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jan 20, 2007 7:09 pm   
 
Confirmed, but possibly not a bug. If you want no default, you're supposed to use _nodef and that works fine. If you want a blank but enabled default, {%null} works.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jan 22, 2007 6:32 pm   
 
Added to bug list. CMUD is normally tested with "" around default values, rather than {}
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