aboutsummaryrefslogtreecommitdiff
path: root/include/cru/parse/Symbol.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/parse/Symbol.hpp')
-rw-r--r--include/cru/parse/Symbol.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/cru/parse/Symbol.hpp b/include/cru/parse/Symbol.hpp
index e22fb9bc..7404a5e7 100644
--- a/include/cru/parse/Symbol.hpp
+++ b/include/cru/parse/Symbol.hpp
@@ -1,11 +1,13 @@
#pragma once
+#include "Base.hpp"
+
#include "cru/common/String.hpp"
namespace cru::parse {
class Grammar;
// Base class of Terminal and Nonterminal.
-class Symbol : public Object {
+class CRU_PARSE_API Symbol : public Object {
public:
explicit Symbol(Grammar* grammar, String name);