summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
AgeCommit message (Collapse)Author
2014-01-08adjust lineno after continuing script files using mrb_partial_hook; close #1652Yukihiro "Matz" Matsumoto
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-13load_exec() no longer return fixnum value for no_exec; should close #1569Yukihiro "Matz" Matsumoto
2013-11-10cancel #1565 since it breaks mirb; instead add special treatment to heredocsYukihiro "Matz" Matsumoto
2013-11-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-11-08Merge pull request #1565 from Fleurer/fix1564Yukihiro "Matz" Matsumoto
nextc(): always return an '\n' at end of input
2013-11-08nextc(): always return an '\n' at end of inputfleuria
fix #1564
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-05resolved conflicts and updated to latest return value change of ↵Yukihiro "Matz" Matsumoto
mrb_generate_code()
2013-11-03refactor mrb_context_run()fleuria
2013-11-02change return value from mrb_generate_code()Yukihiro "Matz" Matsumoto
2013-10-30fix 3a4c8e2fleuria
unfortunately the previouse commit is incorrect, which still concate the keywords, but like this: method='"end\nb"' (201)
2013-10-30fix #1550fleuria
emit a "\n" as the first token for parser instead of taking the first character from the next file for lexer, to prevent mruby "concatenate" two keywords between files it should be regarded as a work around, for it can not resolve this case: $ cat a.rb " $ cat b.rb b" $ bin/mrbc -o- -v a.rb b.rb mruby - Embeddable Ruby Copyright (c) 2010-2013 mruby developers NODE_SCOPE: NODE_BEGIN: NODE_STR " b " len 4 irep 0 nregs=2 nlocals=1 pools=1 syms=0 000 OP_STRING R1 "\n\nb " 001 OP_STOP thanks @bovi 's idea
2013-09-25Merge pull request #1509 from FUKUZAWA-Tadashi/heredoc-bugfixYukihiro "Matz" Matsumoto
fix bugs on Heredocument
2013-09-23eliminate use of traditional intern API (mrb_intern()) completelyYuichi Nishiwaki
2013-09-22fix bugs on HeredocumentFUKUZAWA-Tadashi
- heredoc in array literal - heredoc in args - heredoc in expression expand
2013-09-20incomplete renaming node->filename -> node->filename_indexYukihiro "Matz" Matsumoto
2013-09-03MSVC: compilation works again (+minor style fixes)Cremno
2013-09-03fix line number after first filetake_cheeze
2013-09-02declare variable outside fortake_cheeze
2013-09-02reduce node sizetake_cheeze
2013-09-02support multiple filename in ireptake_cheeze
2013-08-14Fix return block argument errorCarson McDonald
2013-08-13Adding line numbers to the output of mirb.Jack Danger Canty
Before: > "hi" hi > d (mirb):1: undefined method 'd' for main (NoMethodError) > d (mirb):1: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 1: unterminated string meets end of file After > "hi" hi > d (mirb):2: undefined method 'd' for main (NoMethodError) > d (mirb):3: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 5: unterminated string meets end of file
2013-08-09parse.y: fixed bison 3.0 warningCremno
YACC src/parse.y -> build/host/src/y.tab.c src/parse.y:936.1-12: warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated] %pure_parser
2013-08-07parse.y: don't use strcatCremno
2013-08-02End loop if nextc is -1Carson McDonald
2013-08-01ci->target_class should be updated as well; #1418Yukihiro "Matz" Matsumoto
2013-07-31remove unused mrb_proc_new_with_target()Yukihiro "Matz" Matsumoto
2013-07-30forget to re-initialize target_class for top-level eval; close #1418Yukihiro "Matz" Matsumoto
2013-07-25replace assert with mrb_assertfleuria
2013-06-27Avoid read_escape() in case of regexpTakashi Sogabe
2013-06-24fixed a bug in push back list; close #1298Yukihiro "Matz" Matsumoto
2013-06-10Use casting instead of a macroh2so5
2013-06-09Replace isupper with a macro in msvch2so5
2013-05-14mrbc to take multiple files, preserving debug information if -g given; close ↵Yukihiro "Matz" Matsumoto
#1243
2013-05-10change mrb_bug to get mrb_state and %S formatterYukihiro "Matz" Matsumoto
2013-04-29Revert file access mode to 0644.Masaki Muranaka
2013-04-28add extern funcs declaration and casts for cimpiling C++ compilerarton
2013-04-20use ISXDIGIT instead isxdigit on parser.y:3485Daehyub Kim
2013-04-06Define isascii for C99kano4
2013-04-05Add syntax error for incomplete global variablesh2so5
2013-04-05Add syntax error for incomplete instance/class variablesh2so5
2013-03-28Merge pull request #1102 from carsonmcdonald/gvarunderscorefixYukihiro "Matz" Matsumoto
Allow globals that start with $_
2013-03-28Allow globals that start with $_Carson McDonald
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2013-03-26Remove #if 0 ... #endif code.Masaki Muranaka
2013-03-24Separate FILE dependencies with ENABLE_STDIO.Masaki Muranaka
2013-03-23resolve conflict regarding backtickYukihiro Matz Matsumoto
2013-03-22Add configuration macro MRB_PARSER_BUF_SIZE.Masaki Muranaka