summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-04-16 22:39:57 +0900
committertake_cheeze <[email protected]>2014-04-16 22:39:57 +0900
commitc0eaaf3559c0e78868277315c1290ae9aa03ed69 (patch)
treed8daba803584ae1ccca09f2c56e1eea05f59bf86 /src
parent93c82514dcce47f7c72d1ab24fcbecdacbd072d6 (diff)
downloadmruby-c0eaaf3559c0e78868277315c1290ae9aa03ed69.tar.gz
mruby-c0eaaf3559c0e78868277315c1290ae9aa03ed69.zip
Move src/re.h to include/mruby/re.h .
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)