summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-25 10:32:31 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-25 10:32:31 +0000
commit49e7fabc728f09c40d251e4198dc4d8ad255769e (patch)
treebc50e1d106dc651b622d019a13cd234eafaabe53 /src/util
parent18382b856bb909acaa9833bf9ec87402f8a7815c (diff)
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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/ParseFile.c2
1 files changed, 1 insertions, 1 deletions
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);