summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorSeeker <[email protected]>2020-12-28 17:58:53 -0800
committerSeeker <[email protected]>2020-12-28 18:22:13 -0800
commit49b01f23a414502a44197f105b174ad9300073d4 (patch)
tree210116535eecbe737e76103b461b10ddecb8ae4c /include
parent9b501ab5075d123235ebf8521e8b92356f306684 (diff)
downloadmruby-49b01f23a414502a44197f105b174ad9300073d4.tar.gz
mruby-49b01f23a414502a44197f105b174ad9300073d4.zip
Fix mixed indentation and escaped tabs in squiggly heredocs
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index d94e4c1f5..ff4bbe9bd 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -100,6 +100,9 @@ enum mrb_string_type {
struct mrb_parser_heredoc_info {
mrb_bool allow_indent:1;
mrb_bool remove_indent:1;
+ char indent_char;
+ size_t indent;
+ mrb_ast_node *indented;
mrb_bool line_head:1;
enum mrb_string_type type;
const char *term;