summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-07-13 00:24:44 +0900
committerYukihiro Matsumoto <[email protected]>2012-07-13 00:24:44 +0900
commitae2cd24afbf69e6e4c98ac8e642cb078e9d3750b (patch)
tree8313bc75eb549eed9ec80fd3a4b7b4f475fa1b71
parent9e64e753a227e85425c990283117129d3a5fd625 (diff)
downloadmruby-ae2cd24afbf69e6e4c98ac8e642cb078e9d3750b.tar.gz
mruby-ae2cd24afbf69e6e4c98ac8e642cb078e9d3750b.zip
remove st.h inclusion
-rw-r--r--src/parse.y1
-rw-r--r--src/re.h1
-rw-r--r--src/string.c1
-rw-r--r--src/variable.c1
4 files changed, 1 insertions, 3 deletions
diff --git a/src/parse.y b/src/parse.y
index fe8752ec2..292e60cfa 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -22,7 +22,6 @@
#include "mruby/compile.h"
#include "mruby/proc.h"
#include "node.h"
-#include "st.h"
#include <stdio.h>
#include <errno.h>
diff --git a/src/re.h b/src/re.h
index 238b4e408..91bd1abc1 100644
--- a/src/re.h
+++ b/src/re.h
@@ -13,6 +13,7 @@
#include "node.h"
#include "regex.h"
#include "encoding.h"
+#include "st.h"
#define BEG(no) regs->beg[no]
#define END(no) regs->end[no]
diff --git a/src/string.c b/src/string.c
index b2cdc1212..2b7bdb454 100644
--- a/src/string.c
+++ b/src/string.c
@@ -19,7 +19,6 @@
#include "re.h"
#ifdef ENABLE_REGEXP
#include "regex.h"
-#include "st.h"
#endif //ENABLE_REGEXP
const char mrb_digitmap[] = "0123456789abcdefghijklmnopqrstuvwxyz";
diff --git a/src/variable.c b/src/variable.c
index e785d56b7..33c9c0249 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -16,7 +16,6 @@
#ifdef ENABLE_REGEXP
#include "re.h"
-#include "st.h"
#endif
static void