Follow-up Comment #1, bug #22969 (project wesnoth):

It's amusing to me because it calls to mind something another dev wrote once:

> One nice thing would be the ability to do mathematical manipulation inside
expressions. There are ways this could be added to WML, too; probably the only
reason it hasn't been added yet is because how often do you need to do
advanced arithmetic for ScenarioWML ? 

http://forums.wesnoth.org/viewtopic.php?p=268700#p268700

I think it's a good idea to have || and &&, although they should be spelled
out since most users have no C / C++ experience of any kind. Also imo elseif
is better than elif, if only for consistency with wml / lua.

Also though, I think we should consider repacing the current preprocessor
implementation entirely with some boost-based thing:
http://stackoverflow.com/questions/10525216/how-do-i-implement-include-directives-using-boostspiritlex

Note that we tell people that they should expect the preprocessor may be
modified in new versions:
http://wiki.wesnoth.org/PreprocessorRef#Preprocessor_directives

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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