Update of bug #14832 (project wesnoth):

                  Status:                    None => Wont Fix               
             Assigned to:                    None => silene                 
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

You are right: this is a case of macro arguments overwriting macro
definitions. By the way, this is nothig new; this was already the case in all
the previous versions. Consider for instance:


#define VARIABLE
#enddef
#define MACRO VARIABLE
{VARIABLE} # which one is it?
#enddef


But due to some bugs, the argument was overlooked and your code was going
through. The behavior is now uniform: arguments always overwrite definitions,
and not just sometimes. So marking as "won't fix", since this is the intended
behavior.

(Note that, if you had looked at your error logs, you would have seen the
message "macro argument 'VARIABLE' does not expect any argument", which would
have probably helped you find the issue/fix sooner.)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14832>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to