diff options
author | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2010-09-29 01:25:52 +0000 |
---|---|---|
committer | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2010-09-29 01:25:52 +0000 |
commit | ef4b3746b656171872d8becdc9e2b634b49af4bc (patch) | |
tree | f7e512bd605dda6f14f6cc248d8f50b9cd1c28e2 /src/main | |
parent | 64841c527152a0301f9f4d308d9336a445ffea12 (diff) |
fix last commit (ooops). ValidateModifiers() is apparently called for all modifiers, and some of them apparently allow non-full variable names. My mistake, not corrected.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4639 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/ScheduleInterface.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c index 4bd3b892..b471eea7 100644 --- a/src/main/ScheduleInterface.c +++ b/src/main/ScheduleInterface.c @@ -1560,6 +1560,11 @@ int ValidateModifiers(t_sched_modifier *modifier) for (;modifier;modifier=modifier->next) { + if (modifier->type != sched_while || + modifier->type != sched_if) + { + continue; + } vindex = CCTK_VarIndex(modifier->argument); if (vindex < 0) { |