summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/codegen.c2
-rw-r--r--src/re.h12
-rw-r--r--src/string.c2
3 files changed, 2 insertions, 14 deletions
diff --git a/src/codegen.c b/src/codegen.c
index c869285d9..a36d609c6 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -16,7 +16,7 @@
#include "mruby/debug.h"
#include "node.h"
#include "opcode.h"
-#include "re.h"
+#include "mruby/re.h"
#include "mrb_throw.h"
typedef mrb_ast_node node;
diff --git a/src/re.h b/src/re.h
deleted file mode 100644
index ee2638b22..000000000
--- a/src/re.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-** re.h - Regexp class
-**
-** See Copyright Notice in mruby.h
-*/
-
-#ifndef RE_H
-#define RE_H
-
-#define REGEXP_CLASS "Regexp"
-
-#endif /* RE_H */
diff --git a/src/string.c b/src/string.c
index ebc579ec5..9c206157e 100644
--- a/src/string.c
+++ b/src/string.c
@@ -14,7 +14,7 @@
#include "mruby/class.h"
#include "mruby/range.h"
#include "mruby/string.h"
-#include "re.h"
+#include "mruby/re.h"
#define STR_EMBED_P(s) ((s)->flags & MRB_STR_EMBED)
#define STR_SET_EMBED_FLAG(s) ((s)->flags |= MRB_STR_EMBED)