18 lines
468 B
C++
18 lines
468 B
C++
#include "__read.h"
|
|
#include "Exception.h"
|
|
|
|
namespace jet {
|
|
|
|
__read::__read(coreutils::ZString &in, coreutils::MString &parent, Global &global) : Tag(in, parent, global) {
|
|
if(!variableDefined(coreutils::ZString("file")))
|
|
throw coreutils::Exception("file keyword must be specified.");
|
|
|
|
if(hasContainer)
|
|
throw coreutils::Exception("Missing / at end of tag definition. Not a container tag.");
|
|
|
|
// process file request here.
|
|
|
|
}
|
|
|
|
}
|