summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
AgeCommit message (Collapse)Author
2013-02-28Regexp: %r notation bug fix. close #85.Kouki Ooyatsu
be able to parse any delimiters. variable expansion isn't supported yet. * sample code ``` def matchpath(str) puts "#{str} is ..." if %r!img/! =~ str then puts "match" else puts "not match" end end matchpath("img/a.png") # => match matchpath("/usr/local/bin") # => not match matchpath("book/img/local") # => match ```
2013-02-19Merge pull request #861 from cremno/regexp-parser-bugfixYukihiro "Matz" Matsumoto
regexp parsing bug if unknown option is used
2013-02-19Merge pull request #855 from ↵Yukihiro "Matz" Matsumoto
masamitsu-murase/support_parser_dump_for_regexp_literal parser_dump supports NODE_REGEX.
2013-02-19s must not be freed, removed space in exc msgCremno
2013-02-18parser_dump supports NODE_REGEX.Masamitsu MURASE
2013-02-18vars must be declared at the start of a blockCremno
2013-02-15ready to pass second argument of Regexp.newmattn
2013-02-15Pluggable Regexpmattn
2013-02-07Fix incorrect index use. nerr was being used for warning buffer check.Carson McDonald
2013-01-27Removed tests that look outdated. The mrb_compile_string they use is gone now.Carson McDonald
2013-01-20Merge pull request #754 from masamitsu-murase/modify_undef_nodeYukihiro "Matz" Matsumoto
Modify handling of NODE_UNDEF.
2013-01-20Merge pull request #753 from ↵Yukihiro "Matz" Matsumoto
masamitsu-murase/modify_handling_of_quoted_string_literal Modify handling of quoted non-expanded string literal
2013-01-20Modify handling of NODE_UNDEF to accept multiple arguments.Masamitsu MURASE
2013-01-20Modify handling of Quoted non-expanded literal strings.Masamitsu MURASE
2013-01-19Modify handling of `bodystmt`.Masamitsu MURASE
2013-01-16Fix disappearance of command_call in case of statement without parentheses.Takashi Sogabe
2012-12-17nextc() might have problem on bytes higer than 0x80; close #628Yukihiro Matz Matsumoto
2012-12-05Fix out of boundary scan in case of octal formatted stringTakashi Sogabe
This patch fixes a side effect of #2e7953536e
2012-12-04Fix loss of MSB in conditions of octal formatted stringTakashi Sogabe
2012-11-12should wrap associ in aref_args; close #529Yukihiro Matz Matsumoto
2012-11-01fix when mruby parse embedded rd document, mruby throw a syntax error.skandhas
2012-10-25Use substitution instead of memset in structure initialization.Masaki Muranaka
2012-10-18Fix wrong storage of data when hex-style string is loadedTakashi Sogabe
This patch fixes corruption of data when hex-style string is loaded. I saw following phenomenon in an ubuntu/amd64 environment. Test code: str = "\x0\x1\x2\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10" p str[-1] == "\0x10" Output(binary program with mrbc -B): false Output(script with mruby): true
2012-09-27load_exec should return undef on syntax errorsYukihiro Matsumoto
2012-09-26should not call mrb_parser_free() on NULL pointerYukihiro Matsumoto
2012-09-12mrb_sym can be short integer; reduced 10KBYukihiro Matsumoto
2012-09-03remove memleaks using linked allocatorYukihiro Matsumoto
2012-09-03improve local variable dump in parser_dumpYukihiro Matsumoto
2012-09-01manage line number in yacc rules, not in lexerYukihiro Matsumoto
2012-08-22file/line info passed to codegen; argument type of mrb_generate_code() has ↵Yukihiro Matsumoto
changed
2012-08-18remove BEGIN/END from syntaxYukihiro Matsumoto
2012-08-17Modify buffer size for filename.Masamitsu MURASE
2012-08-04load_exec(): Fix message lenghtes in mrb_exc_new().Masaki Muranaka
mrb_run(): Fix not to use a magic number but sizeof.
2012-07-29Make void casts explicit.Max Anselm
(Forgot a couple files)
2012-07-22mruby should print exceptionYukihiro Matsumoto
2012-07-19mrb_load_* should return valueJiro Nishiguchi
2012-07-16Supress using switches with fallthru or a empty default label.Masaki Muranaka
2012-07-14Suppress some warnings about pointer casting.Masamitsu MURASE
2012-07-14mruby should print error properlyYukihiro Matsumoto
2012-07-14Merge branch 'master' of github.com:mruby/mrubyYukihiro Matsumoto
2012-07-14mrb_load to set mrb->exc on errorsYukihiro Matsumoto
2012-07-14mrb_load_xxx to return undef + mrb_undef_pYukihiro Matsumoto
2012-07-13clean -Wunused-function when defined DISABLE_STDIOSelman ULUG
2012-07-13simpify mruby/mrbc using contextYukihiro Matsumoto
2012-07-13allow DISABLE/ENABLE_SATDIOYukihiro Matsumoto
2012-07-13add missing (empty) default for swtch; close #364Yukihiro Matsumoto
2012-07-13remove st.h inclusionYukihiro Matsumoto
2012-07-11local variable order was screwed up in parser_init_cxt(); close #360Yukihiro Matsumoto
2012-07-09Merge pull request #357 from suzukaze/replace-tab-with-spacesYukihiro "Matz" Matsumoto
Replace Tab with spaces in src/parse.y
2012-07-10replace Tab with spaces in src/parse.ysuzukaze