Commit 7b22faa0 authored by Akim Demaille's avatar Akim Demaille

build: missing include

* src/parse-tasks.cc: here.
parent 27654cd7
......@@ -15,12 +15,12 @@
// You should have received a copy of the GNU General Public License
// along with Nolimips. If not, see <http://www.gnu.org/licenses/>.
//
#include "common.hh"
#include "misc/contract.hh"
#include <iostream>
#include "common.hh"
#include "misc/contract.hh"
#include "parse/libparse.hh"
#include "parse-tasks.hh"
// Parse module related tasks' implementation.
......@@ -60,14 +60,14 @@ namespace parse
{
if (filename == NULL)
{
std::cerr << "You must specify an input file." << std::endl;
std::cerr << "You must specify an input file.\n";
exit (exit_failure);
}
program = ::parse::parse(filename);
if (!program)
{
std::cerr << "Parsing Failed" << std::endl;
std::cerr << "Parsing Failed\n";
if (!exit_status)
exit_status = exit_parse;
exit (exit_status);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment