Author: esr
Date: Thu Aug 28 22:19:50 2008
New Revision: 29067
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29067&view=rev
Log:
Give wmlindent a capability to declare indenters.
Pre-declare {FOREACH and {NEXT.
Write declarations in the one place they're presently needed, Sceptre of Fire.
Reindent the data tree accordingly.
This partly addresses the feature request in bug #12180.
Modified:
trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg
trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg
trunk/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg
trunk/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg
trunk/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg
trunk/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg
trunk/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg
trunk/data/campaigns/Heir_To_The_Throne/scenarios/05b_Isle_of_the_Damned.cfg
trunk/data/campaigns/Heir_To_The_Throne/scenarios/10_Gryphon_Mountain.cfg
trunk/data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
trunk/data/campaigns/Heir_To_The_Throne/scenarios/19c_Cliffs_of_Thoria.cfg
trunk/data/campaigns/Heir_To_The_Throne/utils/httt_utils.cfg
trunk/data/campaigns/Liberty/scenarios/04_Unlawful_Orders.cfg
trunk/data/campaigns/Liberty/scenarios/05_Hide_and_Seek.cfg
trunk/data/campaigns/Liberty/utils/utils.cfg
trunk/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_of_Outriders.cfg
trunk/data/campaigns/Sceptre_of_Fire/scenarios/9_Caverns_of_Flame.cfg
trunk/data/campaigns/Sceptre_of_Fire/utils/utils.cfg
trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/06_Black_Flag.cfg
trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/10_Saving_Inarix.cfg
trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/14_Back_Home.cfg
trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg
trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/19_The_Vanguard.cfg
trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg
trunk/data/campaigns/The_South_Guard/scenarios/06b_The_Long_March.cfg
trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg
trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Across_the_Harsh_Sands.cfg
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/06a_In_the_Tunnels_of_Trolls.cfg
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen3_alt/possesion.cfg
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen3_alt/war_cry.cfg
trunk/data/campaigns/Under_the_Burning_Suns/utils/kaleh-abilities.cfg
trunk/data/campaigns/Under_the_Burning_Suns/utils/macros.cfg
trunk/data/campaigns/tutorial/scenarios/2_Tutorial.cfg
trunk/data/core/macros/interface-utils.cfg
trunk/data/core/macros/sidelimit-utils.cfg
trunk/data/core/macros/unit-utils.cfg
trunk/data/core/macros/utils.cfg
trunk/data/multiplayer/scenarios/2p_Dark_Forecast.cfg
trunk/data/multiplayer/scenarios/4p_A_New_Land.cfg
trunk/data/multiplayer/scenarios/ANL_utils/ANL_auto_working.cfg
trunk/data/scenario-test.cfg
trunk/data/tools/wmlindent
[This mail would be too long, it was shortened to contain the URLs only.]
Modified:
trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/An_Orcish_Incursion/scenarios/4_Valley_of_Trolls.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/An_Orcish_Incursion/scenarios/5_Linaera_the_Quick.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/05b_Isle_of_the_Damned.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/05b_Isle_of_the_Damned.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/10_Gryphon_Mountain.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/10_Gryphon_Mountain.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/19c_Cliffs_of_Thoria.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/19c_Cliffs_of_Thoria.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Heir_To_The_Throne/utils/httt_utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/utils/httt_utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Liberty/scenarios/04_Unlawful_Orders.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Liberty/scenarios/04_Unlawful_Orders.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Liberty/scenarios/05_Hide_and_Seek.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Liberty/scenarios/05_Hide_and_Seek.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Liberty/utils/utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Liberty/utils/utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_of_Outriders.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_of_Outriders.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Sceptre_of_Fire/scenarios/9_Caverns_of_Flame.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Sceptre_of_Fire/scenarios/9_Caverns_of_Flame.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Sceptre_of_Fire/utils/utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Sceptre_of_Fire/utils/utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/06_Black_Flag.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/06_Black_Flag.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/10_Saving_Inarix.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/10_Saving_Inarix.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/14_Back_Home.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/14_Back_Home.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/19_The_Vanguard.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/19_The_Vanguard.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/05_Choice_In_The_Fog.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/The_South_Guard/scenarios/06b_The_Long_March.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/06b_The_Long_March.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Across_the_Harsh_Sands.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Across_the_Harsh_Sands.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/06a_In_the_Tunnels_of_Trolls.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/06a_In_the_Tunnels_of_Trolls.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen1/outer_villages.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen3_alt/possesion.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen3_alt/possesion.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified:
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen3_alt/war_cry.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/scen3_alt/war_cry.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Under_the_Burning_Suns/utils/kaleh-abilities.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/utils/kaleh-abilities.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/Under_the_Burning_Suns/utils/macros.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/utils/macros.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/campaigns/tutorial/scenarios/2_Tutorial.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/tutorial/scenarios/2_Tutorial.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/core/macros/interface-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/interface-utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/core/macros/sidelimit-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/sidelimit-utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/core/macros/unit-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/unit-utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/core/macros/utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/utils.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/multiplayer/scenarios/2p_Dark_Forecast.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/multiplayer/scenarios/2p_Dark_Forecast.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/multiplayer/scenarios/4p_A_New_Land.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/multiplayer/scenarios/4p_A_New_Land.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/multiplayer/scenarios/ANL_utils/ANL_auto_working.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/multiplayer/scenarios/ANL_utils/ANL_auto_working.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/scenario-test.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/scenario-test.cfg?rev=29067&r1=29066&r2=29067&view=diff
Modified: trunk/data/tools/wmlindent
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmlindent?rev=29067&r1=29066&r2=29067&view=diff
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits