|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: 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. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Sep 23, 2010 3:17 am |
Confirmed and added to bug list.
|
|
|
|
|
|
|
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
|
|