summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Noble <nnoble@blizzard.com>2013-07-24 14:28:22 -0700
committerNicolas Noble <nnoble@blizzard.com>2013-07-24 14:28:22 -0700
commit6d886b8ec9bafbbedb266748c86d8a1d68f733ec (patch)
treeeb3eceb4dec2a90e4a768affcb1c614bae176b77 /src
parent4e671188a3ccaa387ab98a73fb2ee569478a3a72 (diff)
The new file API requires to explicitely open files now.
Diffstat (limited to 'src')
-rw-r--r--src/Dalos-cli.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Dalos-cli.cc b/src/Dalos-cli.cc
index dd0a4a8..ae4806c 100644
--- a/src/Dalos-cli.cc
+++ b/src/Dalos-cli.cc
@@ -72,6 +72,7 @@ void MainTask::Do() {
while (optind < argc) {
todo = true;
IO<Input> file(new Input(argv[optind++]));
+ file->open();
LuaExecFile luaExecFile(file);
luaExecFile.exec(luaMainTask);
luaExecFile.throwError();