Fixed warning.

This commit is contained in:
yhirose 2015-07-28 23:06:02 -04:00
parent db1099b40b
commit f941e5efa9

View File

@ -28,9 +28,9 @@ bool read_file(const char* path, vector<char>& buff)
struct CommandLineDebugger struct CommandLineDebugger
{ {
void operator()(const peglib::Ast& ast, shared_ptr<Environment> env, bool force_to_break) { void operator()(const peglib::Ast& ast, shared_ptr<Environment> env, bool force_to_break) {
if (command == "n" && env->level <= level || if ((command == "n" && env->level <= level) ||
command == "s" || (command == "s") ||
command == "o" && env->level < level) { (command == "o" && env->level < level)) {
force_to_break = true; force_to_break = true;
} }