summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
AgeCommit message (Collapse)Author
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.
2016-03-30reduce OP_ARRAY in argument splatYukihiro "Matz" Matsumoto
2016-03-24better code generation for `||=`; #3138Yukihiro "Matz" Matsumoto
2016-03-24`||=` with cvars and constants should work with false values; #3138Yukihiro "Matz" Matsumoto
2016-03-23`||=` reference error can happen with constants as well; #3138Yukihiro "Matz" Matsumoto
2016-03-23add safe-navigation (aka lonely) operator `&.`Yukihiro "Matz" Matsumoto
2016-03-22fixed silly class variable/constant confusion; #3138Yukihiro "Matz" Matsumoto
2016-03-21rescue NameError from class variable access like `@@foo ||= 42`; fix #3138Yukihiro "Matz" Matsumoto
2016-03-07fix dump_prefix() with wrong type argument; fix #3128Yukihiro "Matz" Matsumoto
2016-02-22too many register push for else-less condtions; fix #3117Yukihiro "Matz" Matsumoto
2016-02-17peephole optimization for LOADNIL before STRCAT; ref #3110Yukihiro "Matz" Matsumoto
2016-02-17push value for NULL AST when value is required; fix #3110Yukihiro "Matz" Matsumoto
2016-02-16syntax error in interpolated symbol; fixed #3108Yukihiro "Matz" Matsumoto
2016-01-31Fix a typoHAYASHI Kentaro
su ported -> supported ^
2016-01-07change mrb_run related API names; compatibility macros providedYukihiro "Matz" Matsumoto
2015-12-25rename include blockerYasuhiro Matsumoto
2015-12-21in `peekc_n`, adjust column number after calling `nextc`Kazuho Oku
2015-12-01C++ compiler does not like cast from pointer to enum; ref #3039Yukihiro "Matz" Matsumoto
2015-12-01should ignore block to next, break, etc. fix #3039Yukihiro "Matz" Matsumoto