URL:
  <http://gna.org/patch/?4321>

                 Summary: Support for writing include -statements to section
file.
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 02 Dec 2013 12:07:57 AM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Motive: We don't want to write single nations.ruleset file with hundreds of
nations in it from freeciv-ruledit.

This patch adds a way to get "*include" statements written to file. This works
by adding special include-section (one for each include statement) with just
one entry "file" to keep filename to include. Unfortunately this cannot be
simplified so that filename would be in section name as some necessary
characters are not allowed there. When section file is written to disk, these
include sections are converted to include statements.

As an example and test-case, freeciv-ruledit adds "*include
"default/nationlist.ruleset"" to nations.ruleset (other parts of that ruleset
are not yet written)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 02 Dec 2013 12:07:58 AM EET  Name: SecfileInclude.patch  Size: 20kB 
 By: cazfi

<http://gna.org/patch/download.php?file_id=19407>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4321>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to