From 49e7fabc728f09c40d251e4198dc4d8ad255769e Mon Sep 17 00:00:00 2001 From: allen Date: Sat, 25 Sep 1999 10:32:31 +0000 Subject: Now a "!" starts a directive in the parameter files, for now this is just for adding a description of the par file !DESC "Black hole evolution with ADM" which is parsed by runtest Needs to be changed so that it only picks up a ! at the start of the line, git-svn-id: http://svn.cactuscode.org/flesh/trunk@993 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/util/ParseFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/ParseFile.c b/src/util/ParseFile.c index 2e395580..604f6380 100644 --- a/src/util/ParseFile.c +++ b/src/util/ParseFile.c @@ -81,7 +81,7 @@ int ParseFile(FILE *ifp, while ((c=fgetc(ifp)) != EOF) { /* Main Loop */ - while (c == '#') + while (c == '#' || c == '!' ) { /* Comment line. So forget rest of line */ while ((c=fgetc(ifp)) != '\n' && c != EOF); -- cgit v1.2.3