summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-04 12:52:09 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-04 12:52:09 +0000
commit310516be17f57367c66a312f6f60f85e906d0655 (patch)
tree24a3ff68f9ba9bb119edc635e65b37df11fe423e /src/util
parentbda3441af6163c434ec06ef293ef1195750e8140 (diff)
Don't highlight parameter parser warning messages about newlines in quoted
strings. This applies patch http://www.cactuscode.org/pipermail/patches/2005-June/000061.html. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4102 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util')
-rw-r--r--src/util/ParseFile.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/util/ParseFile.c b/src/util/ParseFile.c
index 9c483ced..0dc9863d 100644
--- a/src/util/ParseFile.c
+++ b/src/util/ParseFile.c
@@ -51,14 +51,6 @@ int ParseFile(FILE *ifp,
********************* Local Data *****************************
********************************************************************/
-#ifndef WIN32
-#define BOLDON "\033[1m"
-#define BOLDOFF "\033[0m"
-#else
-#define BOLDON ""
-#define BOLDOFF ""
-#endif
-
/* parse buffer size */
#define BUF_SZ (8 * 1024)
@@ -268,8 +260,8 @@ int ParseFile(FILE *ifp,
if (c != '\n') value[p++] = c;
if (c == '\n')
{
- printf ("%sWarning:%s Quoted string contains newline for token %s\n",
- BOLDON, BOLDOFF, tokens);
+ printf ("Warning: Quoted string contains newline for token %s\n",
+ tokens);
printf ("This could indicated a parameter file error or missing quote\n");
#ifdef DEBUG
printf ("LINE %d\n",lineno);