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

                 Summary: Handle Parser Exceptions
                 Project: Battle for Wesnoth
            Submitted by: cib
            Submitted on: Samstag 05.01.2008 um 11:41
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Well, since there actually are parser exceptions, they just get stuck in the
streambuf, this patch makes the preprocessor write its exceptions to an error
log. At higher level(preprocess_file) this error log is checked again and if
it's not empty, a proc_config::error is raised. This, again, is now catched
by the functions in charge of loading the game data and will be treated like
a WML exception. This is the first thing I made in C++, so there might be
some newbie mistakes.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Samstag 05.01.2008 um 11:41  Name: changes.txt  Size: 12kB   By: cib

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to