summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
AgeCommit message (Collapse)Author
2013-03-18remove unused local variable beg in parser_yylexYukihiro Matz Matsumoto
2013-03-17bugfix about escaping '\n'FUKUZAWA-Tadashi
2013-03-17refactor heredoc identifierFUKUZAWA-Tadashi
2013-03-17implement literal %W %w %sFUKUZAWA-Tadashi
refactor string parsing
2013-03-16Remove stdlib.h from mruby.h. It is for portability (care for freestanding ↵Masaki Muranaka
environments). This is a first step. It will be reduced stdlib.h in each files later.
2013-03-15obsolete mrb_object; opposite of bc870ceYukihiro Matz Matsumoto
2013-03-14use size_t for string length C APIYukihiro Matz Matsumoto
2013-03-14remove PARANOID from commentsYukihiro Matz Matsumoto
2013-03-14Merge pull request #987 from monaka/pr-clean-up-parse.y-20130312Yukihiro "Matz" Matsumoto
Clean up parse.y.
2013-03-12Use int. They are no need to use unsigned/signed long. Think about 16bit ↵Masaki Muranaka
architectures.
2013-03-12Add comments for paradnoid (a.k.a. mission critical) engineers.Masaki Muranaka
2013-03-12Remove a meaningless type cast.Masaki Muranaka
2013-03-12Fix indents.Masaki Muranaka
2013-03-06Remove warning for regexpmattn
2013-03-05Include stdio.h in mrbconf.h instead of C extension sources.Masaki Muranaka
2013-03-04Replace tabs with spaceskano4
2013-03-04allow reserved word for heredoc terminatorYukihiro Matz Matsumoto
2013-03-04applied a patch from @cremo to support MSVCYukihiro Matz Matsumoto
2013-03-04Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into ↵Yukihiro Matz Matsumoto
FUKUZAWA-Tadashi-heredoc
2013-03-03delete trailing spaceFUKUZAWA-Tadashi
2013-03-03implement heredocFUKUZAWA-Tadashi
2013-03-03cleanup: delete commented out match_op() from parse.yKouki Ooyatsu
2013-03-02string interpolation in regexYukihiro Matz Matsumoto
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