summaryrefslogtreecommitdiff
path: root/universal_parser.c
diff options
context:
space:
mode:
-rw-r--r--universal_parser.c12
1 files changed, 0 insertions, 12 deletions
@@ -61,16 +61,6 @@
#define rb_encoding void
-#ifndef INTERNAL_IMEMO_H
-struct rb_imemo_tmpbuf_struct {
- VALUE flags;
- VALUE reserved;
- VALUE *ptr; /* malloc'ed buffer */
- struct rb_imemo_tmpbuf_struct *next; /* next imemo */
- size_t cnt; /* buffer size in VALUE */
-};
-#endif
-
#undef xmalloc
#define xmalloc p->config->malloc
#undef xcalloc
@@ -95,8 +85,6 @@ struct rb_imemo_tmpbuf_struct {
#undef MEMCPY
#define MEMCPY(p1,p2,type,n) (p->config->nonempty_memcpy((p1), (p2), sizeof(type), (n)))
-#define rb_imemo_tmpbuf_parser_heap p->config->tmpbuf_parser_heap
-
#define compile_callback p->config->compile_callback
#define reg_named_capture_assign p->config->reg_named_capture_assign