summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/parse.y
AgeCommit message (Collapse)Author
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
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-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-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
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-23Fix MRB_DISABLE_STDIO typo.Simon Génier
2015-11-17DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014Yukihiro "Matz" Matsumoto
changes: * rename DISABLE_STDIO -> MRB_DISABLE_STDIO * rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK * no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG). * rewrite above macro references throughout the code. * update documents
2015-10-21fixed SEGV in mrb_parser_dump(NODE_COLON3)Yukihiro "Matz" Matsumoto
2015-09-26support Regexp literal option: //n and //utakahashim
2015-08-11compiler: allow "class A end" by tweaking the superclass rule like CRuby2.3Yukihiro "Matz" Matsumoto
2015-07-29pop cmdarg in lambda body; fix [ruby-bug#11380]cremno
regression introduced by 2fe556d9c039839c20965a2c90dff703f04e40ec
2015-07-03Merge pull request #2874 from cremno/fix-parser-oob-writeYukihiro "Matz" Matsumoto
Coverity: fix oob write by actually truncating buffer
2015-07-03fix oob write by actually truncating buffercremno
Found by Coverity scan of polyfox-moon: CID 121927 (#1 of 1): Out-of-bounds write (OVERRUN)
2015-07-02add missing fall through commentscremno
2015-06-24Remove unnecessary backticks.Franck Verrot
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2015-06-01Compile mruby compiler as mrbgem.take_cheeze
Compiler codes is moved to "mruby-compiler". Executable `mrbc` is moved to "mruby-bin-mrbc".