summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-18 19:38:38 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-18 19:38:38 -0700
commit99b5d43a0bef6838a00aee54e5516da18c4aa3f9 (patch)
treefee62d7f3be856a78e4360fbc830a96f76670a03 /include
parent5217d889633fc556458b2327c30ba483e02ce6d7 (diff)
parentcdf8114e27288612139b544a6dea34e33217c88c (diff)
downloadmruby-99b5d43a0bef6838a00aee54e5516da18c4aa3f9.tar.gz
mruby-99b5d43a0bef6838a00aee54e5516da18c4aa3f9.zip
Merge pull request #1031 from FUKUZAWA-Tadashi/iI
implement %I %i literal
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index 4b12cb10c..8b0743fa3 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -68,13 +68,15 @@ struct mrb_parser_message {
enum mrb_string_type {
str_not_parsing = (0),
- str_squote = (STR_FUNC_PARSING),
- str_dquote = (STR_FUNC_PARSING|STR_FUNC_EXPAND),
- str_regexp = (STR_FUNC_PARSING|STR_FUNC_REGEXP|STR_FUNC_EXPAND),
- str_sword = (STR_FUNC_PARSING|STR_FUNC_WORD|STR_FUNC_ARRAY),
- str_dword = (STR_FUNC_PARSING|STR_FUNC_WORD|STR_FUNC_ARRAY|STR_FUNC_EXPAND),
- str_ssym = (STR_FUNC_PARSING|STR_FUNC_SYMBOL),
- str_heredoc = (STR_FUNC_PARSING|STR_FUNC_HEREDOC),
+ str_squote = (STR_FUNC_PARSING),
+ str_dquote = (STR_FUNC_PARSING|STR_FUNC_EXPAND),
+ str_regexp = (STR_FUNC_PARSING|STR_FUNC_REGEXP|STR_FUNC_EXPAND),
+ str_sword = (STR_FUNC_PARSING|STR_FUNC_WORD|STR_FUNC_ARRAY),
+ str_dword = (STR_FUNC_PARSING|STR_FUNC_WORD|STR_FUNC_ARRAY|STR_FUNC_EXPAND),
+ str_ssym = (STR_FUNC_PARSING|STR_FUNC_SYMBOL),
+ 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),
};
/* heredoc structure */