wesnoth-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-patches] [patch #4036] Allow to output preprocessor output huma


From: Guillaume Melquiond
Subject: [Wesnoth-patches] [patch #4036] Allow to output preprocessor output human-readably.
Date: Fri, 27 May 2005 05:55:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)

Follow-up Comment #1, patch #4036 (project wesnoth):

The problem with this patch is that it does replace '\376' by '#'. As such it
generates a preprocessed output that is not equivalent to the input text. In
particular, it generates *invalid* WML and the output can't even be fed back
to the game.

If you don't want '\376' characters in it, a solution could be to strip all
the "\376.*\n" substrings from the output. The text domains would then be
wrong, but at last the output would be valid WML. I prefer getting valid WML
with incorrect text domains than the other way around.

Other than that, I support the idea of the patch. Though I would have liked
for the -D options to be in fact -D= options as in C preprocessors.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4036>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]