summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-21 23:25:03 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-21 23:25:03 -0700
commitab7bd61596e0d684c27d08088e51cca092291751 (patch)
treee7af45d8632180b7c6b56db0df7013b0a1ff1013 /include
parentf6646f44c2a33147b7f491d1551243c96f72ab25 (diff)
parent4be161c43c4c22c9d3e081e30cf5964ab970a0a7 (diff)
downloadmruby-ab7bd61596e0d684c27d08088e51cca092291751.tar.gz
mruby-ab7bd61596e0d684c27d08088e51cca092291751.zip
Merge pull request #1040 from mattn/backtick
xquote operator
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index 8b0743fa3..0df0d3d0a 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -65,6 +65,7 @@ struct mrb_parser_message {
#define STR_FUNC_SYMBOL 0x10
#define STR_FUNC_ARRAY 0x20
#define STR_FUNC_HEREDOC 0x40
+#define STR_FUNC_XQUOTE 0x80
enum mrb_string_type {
str_not_parsing = (0),
@@ -77,6 +78,7 @@ enum mrb_string_type {
str_ssymbols = (STR_FUNC_PARSING|STR_FUNC_SYMBOL|STR_FUNC_ARRAY),
str_dsymbols = (STR_FUNC_PARSING|STR_FUNC_SYMBOL|STR_FUNC_ARRAY|STR_FUNC_EXPAND),
str_heredoc = (STR_FUNC_PARSING|STR_FUNC_HEREDOC),
+ str_xquote = (STR_FUNC_PARSING|STR_FUNC_XQUOTE|STR_FUNC_EXPAND),
};
/* heredoc structure */