 |
jed Adept
Joined: 18 Dec 2005 Posts: 246
|
Posted: 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.
 |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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.
|
|
|
 |
jed Adept
Joined: 18 Dec 2005 Posts: 246
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
 |
|
|