From b38f33e3997056da5933a5eeeccc2df54899ad98 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 5 Nov 2018 23:25:04 +0200 Subject: Fixed Linux build --- JSImpl/src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'JSImpl/src/main.cpp') diff --git a/JSImpl/src/main.cpp b/JSImpl/src/main.cpp index f3eb90a..a10e4d1 100644 --- a/JSImpl/src/main.cpp +++ b/JSImpl/src/main.cpp @@ -3,6 +3,7 @@ #include "ASTPrinter.h" #include "ASTInterpreter.h" #include +#include void RunParseCalc() { @@ -42,11 +43,11 @@ void InteractiveInterpreter() do { std::cin.getline(command, 1000); - if (strcmp(command, "exit") == 0) + if (std::strcmp(command, "exit") == 0) { break; } - if (strcmp(command, "print") == 0) + if (std::strcmp(command, "print") == 0) { i.Print(p); continue; -- cgit v1.3.1-23-gd82d