mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Fixed warning.
This commit is contained in:
parent
db1099b40b
commit
f941e5efa9
@ -28,9 +28,9 @@ bool read_file(const char* path, vector<char>& buff)
|
||||
struct CommandLineDebugger
|
||||
{
|
||||
void operator()(const peglib::Ast& ast, shared_ptr<Environment> env, bool force_to_break) {
|
||||
if (command == "n" && env->level <= level ||
|
||||
command == "s" ||
|
||||
command == "o" && env->level < level) {
|
||||
if ((command == "n" && env->level <= level) ||
|
||||
(command == "s") ||
|
||||
(command == "o" && env->level < level)) {
|
||||
force_to_break = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user