[Developers] patch: don't highlight parameter parser warning messages about newlines in quoted strings

Thomas Radke tradke at aei.mpg.de
Wed Jun 29 12:06:36 CDT 2005


The attached patch reverts printing the parameter parser's warning message

    "Warning: Quoted string contains newline for token <token>"

from bold to normal font.

Using escape sequences to highlight warnings during the parameter file
parsing seems impractical: (1) the specific warning about a newline
character in a quoted string indicates a problem which in most cases
isn't one. I've seen many users using this "feature" in their parfiles
to make them more readable. (2) There is a flesh parameter
Cactus::highlight_warning_messages by which the user can choose whether
warning messages should be highlighted or not. The parameter parser
disregards this parameter which may suggest a bug to the user.


-- 
Cheers, Thomas.



--- StripMime Report -- processed MIME parts ---
multipart/mixed
  text/plain (text body -- kept)
  text/x-patch
---



More information about the Developers mailing list