summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/parse.y
AgeCommit message (Collapse)Author
2017-06-07Handles exceptions from code generation phase; fix #3695Yukihiro "Matz" Matsumoto
2017-06-02Revert "Update NODE_BLOCK check logic in `void_expr_error`."Yukihiro "Matz" Matsumoto
This reverts commit 31e30686b0bd9333eb0593fb1fb43b9b99744517.
2017-06-02Update NODE_BLOCK check logic in `void_expr_error`.Yukihiro "Matz" Matsumoto
2017-06-02Fixed a bug in `void_expr_error`.Yukihiro "Matz" Matsumoto
2017-06-02Add more precise void expression checks; ref #3686Yukihiro "Matz" Matsumoto
2017-04-23Fix embedded document with unterminated terminatorNobuyoshi Nakada
`skips()` is `mrb_bool` function, should return `FALSE` at EOF, not `EOF`.
2017-04-12Exceptions may be raised in yyparse(); fix #3600Yukihiro "Matz" Matsumoto
2017-04-03Unify `else` clause styleYukihiro "Matz" Matsumoto
2017-03-23Use MRB_PRId for NODE_NTH_REF; ref #3530Yukihiro "Matz" Matsumoto
2017-03-07`__FILE__` should not update `p->filename`; fix #3485Yukihiro "Matz" Matsumoto
2017-03-01Newlines in strings should be counted; fix #3477Yukihiro "Matz" Matsumoto
2017-02-28Fix NODE_DREGX dump; ref #3471Yukihiro "Matz" Matsumoto
2017-02-28Update codegen.c commentsYukihiro "Matz" Matsumoto
2017-02-24replace "yylval" with "pylval" to make it compile with byacc.Tomoyuki Sahara
2017-01-21Fix incorrect parsing of block parameters.Clayton Smith
2016-12-18Zero length heredoc still crashed; ref Shopify/mruby-internal#81Yukihiro "Matz" Matsumoto
2016-12-14remove debug code; ref #3344Yukihiro "Matz" Matsumoto
2016-12-13tLABEL should not come after conditional ternary; fix #3344Yukihiro "Matz" Matsumoto
2016-12-13void_expr_error(): n may be NULL.Yukihiro "Matz" Matsumoto
Reported from @clayton-shopify.
2016-12-10Clear parsing_heredoc at the end of fileYukihiro "Matz" Matsumoto
2016-12-07Promote load_exec to mruby API as mrb_load_exec (fixes #3248)Tomasz Dąbrowski
2016-12-05Reorganize heredoc rules; fix #3273Yukihiro "Matz" Matsumoto
The following codes used to be SyntaxError: (1) a = <<-EOD; hello EOD (2) <<-EOD.bla begin k EOD end
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-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-24Fix nested empty heredoc causing segfaultBouke van der Bijl
As reported by https://hackerone.com/jpenalbae
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-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-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-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-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-05-16parser_dump() to show symbol number for NODE_SYMYukihiro "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