summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-04-01 04:30:54 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-04-01 04:30:54 +0000
commit2e51eb2e58408ce563dd28395fb1124b25aad203 (patch)
tree7b15ce78f05330ec699486758ee696425bfe4c62
parent90ccc62db740516694a8456435f6baebc09f4aa4 (diff)
Re-instating the consistency check that all thorns providing the same
implementation have the same ancestors. This should never have been changed to just a warning. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3631 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--lib/sbin/interface_parser.pl10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/sbin/interface_parser.pl b/lib/sbin/interface_parser.pl
index 10fdaa35..00a07125 100644
--- a/lib/sbin/interface_parser.pl
+++ b/lib/sbin/interface_parser.pl
@@ -387,17 +387,11 @@ sub check_implementation_consistency
{
if(split(' ', $inherits{$thing}) != $n_thorns)
{
-### Thomas Radke, 2 Sep 2003
-### If this consistency check fails, only a warning should be issued
-### rather than stopping the CST with an error message.
-### This allows thorns providing the same implementation to have different
-### inherits.
-# $n_errors++;
-# &CST_error(0,
- &CST_error(1,
+ &CST_error(0,
"Inconsistent implementation of '$implementation' " .
"provided by thorns '@thorns': not all inherit '$thing'",
'', __LINE__, __FILE__);
+ $n_errors++;
}
}