aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/visitor.h')
-rw-r--r--gcc/d/dmd/visitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/d/dmd/visitor.h b/gcc/d/dmd/visitor.h
index f8cbdb4..ed9f9ce 100644
--- a/gcc/d/dmd/visitor.h
+++ b/gcc/d/dmd/visitor.h
@@ -10,6 +10,7 @@
#pragma once
#include "root/dsystem.h"
+#include "root/dcompat.h" // for d_bool
class Statement;
class ErrorStatement;
@@ -663,6 +664,6 @@ public:
class StoppableVisitor : public Visitor
{
public:
- bool stop;
+ d_bool stop;
StoppableVisitor() : stop(false) {}
};