Fixed warning.

pull/3/head
yhirose 9 years ago
parent db1099b40b
commit f941e5efa9
  1. 6
      language/main.cc

@ -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;
} }

Loading…
Cancel
Save