summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
AgeCommit message (Collapse)Author
2016-12-03Import locale insensitive strtod() from Ruby1.8; fix #3270Yukihiro "Matz" Matsumoto
The function was renamed to `mrb_float_read(const char*, char**)`.
2016-12-03Needed to apply block from safe-navigation operators; fix #3310Yukihiro "Matz" Matsumoto
2016-12-03Print NODE_SCALL (&.) from mrb_parser_dump()Yukihiro "Matz" Matsumoto
2016-12-03codegen: avoid unnecessary OP_MOVE after CASEYukihiro "Matz" Matsumoto
2016-12-01Fix segfault when using result of rest assignmentBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-12-01avoid comparison between signed and unsigned integer; ref #3312Yukihiro "Matz" Matsumoto
2016-12-01Support multiple elements \u syntaxNobuyoshi Nakada
2016-12-01Extract read_escape_unicode from read_escapeNobuyoshi Nakada
2016-11-30Fixed too much void_expr_error(); fix #3307Yukihiro "Matz" Matsumoto
2016-11-29Interpret argument in 'f ()' as nil instead of nothingBouke van der Bijl
2016-11-27parse.y: use opt_paren_args to simplify yield ruleYukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3279Yukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3283Yukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3285Yukihiro "Matz" Matsumoto
2016-11-25resolve conflict; ref #3286Yukihiro "Matz" Matsumoto
2016-11-24Fix unsafe peephole optimizationFrancis Bogsanyi
Reported by https://hackerone.com/dkasak
2016-11-24Fix segfault caused by empty condition in ternaryBouke van der Bijl
Reported by https://hackerone.com/jpenalbae
2016-11-24Fix codegen issue causing misaligned registerBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-11-24Fix segfault on method call with exactly 127 argumentsBouke van der Bijl
Reported by https://hackerone.com/dkasak
2016-11-24Fix nested empty heredoc causing segfaultBouke van der Bijl
As reported by https://hackerone.com/jpenalbae
2016-11-24redo should work well in for statement; fix #3275Yukihiro "Matz" Matsumoto
2016-11-24Relax 'void value expression' check that was too strictYukihiro "Matz" Matsumoto
2016-11-24Add "void value expression" check to the parser.Yukihiro "Matz" Matsumoto
2016-11-24Add forgotten loop_pop() in NODE_OP_ASGN codegenYukihiro "Matz" Matsumoto
2016-11-23codegen_scope should not keep old iseq ptr from irepYukihiro "Matz" Matsumoto
2016-11-11do not dump_node if parser failedYukihiro "Matz" Matsumoto
2016-11-11node_dump() to print NODE_HEREDOC terminatorYukihiro "Matz" Matsumoto
2016-11-11HEREDOC could fail with NUL terminated lines; fix#3244Yukihiro "Matz" Matsumoto
2016-11-11fixed a bug when number of LHS and RHS differs; fix #3239Yukihiro "Matz" Matsumoto
2016-11-08fixed a bug with [] in RHS of multiple assignments; fix #3236Yukihiro "Matz" Matsumoto
2016-11-02allow single quoted labels in hashes; ref #3231Yukihiro "Matz" Matsumoto
2016-11-02allow quoted labels in hashes; fix #3231Yukihiro "Matz" Matsumoto
2016-09-28Removed trailing spacesNobuyoshi Nakada
2016-09-26Fix unexpected behavior with breakksss
``` def yie yield end def bre yie { 1+1 break } end p bre #=> display 2, but should be nil ```
2016-09-04- fix mrbc_filename leak; cxt->filename would not be freed until the state ↵Nozomi SATO
is closed.
2016-08-19parse.y: lparen_arg statementNobuyoshi Nakada
allow parenthesised statement as a method argument. reported [Feature:12686] in bugs.ruby-lang.org fixed in CRuby 2.4.
2016-08-13parse.y: fix chained assignmentsNobuyoshi Nakada
fix syntax errors with chained assignment with op assign. reported [Bug:12669] in bugs.ruby-lang.org fixed in CRuby 2.4.
2016-08-12parse.y: simplify 90e8ce5Nobuyoshi Nakada
simplify tOP_ASGN rules by command_rhs and arg_rhs rules with %prec.
2016-08-11parse.y: rescue modifiers for OP_ASGN should protect rhs onlyYukihiro "Matz" Matsumoto
reported in [Bug:12402] in bugs.ruby-lang.org fixed in CRuby 2.4
2016-07-26Merge pull request #3181 from sdottaka/fix-crash-on-mrb_parser_freeYukihiro "Matz" Matsumoto
Fix crash in mrb_parser_free() due to freed memory access
2016-07-25OP_ASGN vsp may be negativeYukihiro "Matz" Matsumoto
reported by https://gist.github.com/miura1729/53fbd8af889c289a79108e38635b2378 fix proposed by @miura1729 in https://github.com/miura1729/mruby/commit/b1b7933f7aa950cfb747b06327a0d0340f3e4ff8
2016-07-23Fix crash in mrb_parser_free() due to freed memory accessTakashi Sawanaka
2016-07-13relax string length limitation to 64KB; fix #2725Yukihiro "Matz" Matsumoto
2016-06-10fix a compiler warning for uninitialized variableYukihiro "Matz" Matsumoto
2016-05-16fixed remaining bugs in OP_ASGN stack adjustment; close #3159Yukihiro "Matz" Matsumoto
2016-05-16stack adjustment after NODE_OP_ASGN with NODE_CALL was wrong; fix #3159Yukihiro "Matz" Matsumoto
2016-05-16parser_dump() to show symbol number for NODE_SYMYukihiro "Matz" Matsumoto
2016-05-09raise the error at runtime; fix #3152cremno
2016-04-01fix too much optimization for `||=`Yukihiro "Matz" Matsumoto
2016-03-30fix duplicated eval in op_asgnYukihiro "Matz" Matsumoto
`a` in `a.m += c` or `a[b] += c` should be evaluated only once.