diff options
author | Nicolas Noble <nnoble@blizzard.com> | 2013-07-24 14:28:22 -0700 |
---|---|---|
committer | Nicolas Noble <nnoble@blizzard.com> | 2013-07-24 14:28:22 -0700 |
commit | 6d886b8ec9bafbbedb266748c86d8a1d68f733ec (patch) | |
tree | eb3eceb4dec2a90e4a768affcb1c614bae176b77 | |
parent | 4e671188a3ccaa387ab98a73fb2ee569478a3a72 (diff) |
The new file API requires to explicitely open files now.
m--------- | Balau | 0 | ||||
-rw-r--r-- | src/Dalos-cli.cc | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/Balau b/Balau -Subproject 712b4bed9973c60b5c139f98e51ed804ce8a628 +Subproject d8294ff945902faf1ac26c3ad5cabef26e01ed8 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(); |