About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
jed
Adept


Joined: 18 Dec 2005
Posts: 246

PostPosted: Tue Jul 31, 2007 1:08 am   

[1.34] Script reformatting changes parenthasis to bracket
 
I just ran the re-formatter on some code I was working on, and it changed a closing parenthasis to an opening bracket.
It happened to a number of closing prens in a nested swich loop. Here's a screenshot of what it looked like after the reformat... The problem ones are the closeing prens of the switch loop conditions.

Reply with quote
Fang Xianfu
GURU


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

PostPosted: Tue Jul 31, 2007 1:12 am   
 
I couldn't make this error with some simple tests. Do you have the original text so I can try that? Don't really want to type out that much.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
jed
Adept


Joined: 18 Dec 2005
Posts: 246

PostPosted: Tue Jul 31, 2007 1:24 am   
 
here is a text file of the script as it sits right now after i've tried to fix the problem a bit
http://www.fatchachie.com/foxfiles/mudclientpics/findroomindmscript.txt
I've already made a few changes to it... I am getting a headache from brackets poppin up and movin and such hehe. I really need to get better at this.
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 31, 2007 5:36 pm   
 
I'll take a look at that. The #SWITCH command is new, so it might have some syntax issues. I haven't tested it when having "} (expression) {" all on the same line. Anyway, I've added your original text to my bug tracking database so that I can test this when I start doing more bug fixes.
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