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

                 Summary: WML preprocessor messages for undefined macros
                 Project: Battle for Wesnoth
            Submitted by: cjhopman
            Submitted on: Monday 03/31/2008 at 18:56
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

So, when the preprocessor doesn't find a macro it assumes that it should open
it as a file. Sent a message to LOG_CF about that.

When trying to open the file if !istream.good() send a message to ERR_CF.

One thing was that maybe change the message to ERR_CF to something like:

ERR_CF << "Could not open file " << name << " possibly due to undefined macro
\n";

shouldn't really be necessary though.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Monday 03/31/2008 at 18:56  Name: preprocessor.patch  Size: 2kB   By:
cjhopman
preprocessor messages for undefined macro/ error loading file
<http://gna.org/patch/download.php?file_id=4109>

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to