ruby: more helpful config error message

This commit is contained in:
Derek Hower 2009-09-25 17:51:12 -05:00
parent 26990dc492
commit 83a9dc2939

View file

@ -57,7 +57,7 @@ end
net_ports = Array.new
iface_ports = Array.new
assert((protocol == "MESI_CMP_directory" or protocol == "MOESI_CMP_directory"), __FILE__+" cannot be used with protocol #{protocol}");
assert((protocol == "MESI_CMP_directory" or protocol == "MOESI_CMP_directory"), __FILE__+" cannot be used with protocol '#{protocol}'");
require protocol+".rb"