diff --git a/__read.cpp b/__read.cpp index 659991c..c8868aa 100644 --- a/__read.cpp +++ b/__read.cpp @@ -13,6 +13,8 @@ namespace jet { throw coreutils::Exception("name keyword must be specified."); if(hasContainer) throw coreutils::Exception("read tag does not have a container."); + resolveKeyword("file"); + resolveKeyword("name"); fd = open(variables["file"].c_str(), O_RDONLY); if(fd < 0) throw coreutils::Exception("file name is not found.");