Commit Graph

179 Commits

Author SHA1 Message Date
fleuria 620e323d15 replace assert with mrb_assert 2013-07-25 03:00:03 +08:00
Takashi Sogabe dfb4d555c4 Avoid read_escape() in case of regexp 2013-06-27 17:15:18 +09:00
Yukihiro "Matz" Matsumoto b01670a3d3 fixed a bug in push back list; close #1298 2013-06-24 00:41:34 +09:00
h2so5 b543046070 Use casting instead of a macro 2013-06-10 07:17:46 +09:00
h2so5 f8df722e92 Replace isupper with a macro in msvc 2013-06-09 23:05:35 +09:00
Yukihiro "Matz" Matsumoto 95fb1fd809 mrbc to take multiple files, preserving debug information if -g given; close #1243 2013-05-14 23:39:56 +09:00
Yukihiro "Matz" Matsumoto b7a24de377 change mrb_bug to get mrb_state and %S formatter 2013-05-10 22:11:28 +09:00
Masaki Muranaka f139320635 Revert file access mode to 0644. 2013-04-29 09:25:54 +09:00
arton 513bce35f6 add extern funcs declaration and casts for cimpiling C++ compiler 2013-04-28 15:31:50 +09:00
Daehyub Kim c5712bcb3f use ISXDIGIT instead isxdigit on parser.y:3485 2013-04-20 00:07:37 +09:00
kano4 04fb7a0a3f Define isascii for C99 2013-04-06 21:47:38 +09:00
h2so5 51ef69dee6 Add syntax error for incomplete global variables 2013-04-05 14:59:11 +09:00
h2so5 7331119265 Add syntax error for incomplete instance/class variables 2013-04-05 11:30:13 +09:00
Yukihiro "Matz" Matsumoto cb946da787 Merge pull request #1102 from carsonmcdonald/gvarunderscorefix
Allow globals that start with $_
2013-03-28 19:35:52 -07:00
Carson McDonald 06d7bd69a3 Allow globals that start with $_ 2013-03-28 22:21:37 -04:00
Masaki Muranaka 2b5b161f8b Sort include files. Some redundant includes are removed. 2013-03-29 10:22:31 +09:00
Masaki Muranaka 6848ad6f30 Remove #if 0 ... #endif code. 2013-03-26 15:12:50 +09:00
Masaki Muranaka 29d84a1635 Separate FILE dependencies with ENABLE_STDIO. 2013-03-24 13:47:54 +09:00
Yukihiro Matz Matsumoto 04d9c5ea6b resolve conflict regarding backtick 2013-03-23 11:08:18 +09:00
Masaki Muranaka 4656073b60 Add configuration macro MRB_PARSER_BUF_SIZE. 2013-03-22 16:46:56 +09:00
Yukihiro Matz Matsumoto b547a7ed2c allow backtick as a symbol 2013-03-22 15:53:08 +09:00
Yukihiro "Matz" Matsumoto ab7bd61596 Merge pull request #1040 from mattn/backtick
xquote operator
2013-03-21 23:25:03 -07:00
Masaki Muranaka 0f16b242fc Add an internal function intern_c(). It reduces function call parameter. For maintainability and performance. 2013-03-22 14:25:51 +09:00
Masaki Muranaka 75d5654de8 Make intern_gen() inline. This is enough tiny to be inlined. 2013-03-22 14:23:41 +09:00
Masaki Muranaka f8fa56d8c3 Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by strlen(). 2013-03-22 14:22:45 +09:00
mattn 1ab4dbcbf3 Backtick operation 2013-03-21 19:45:47 +09:00
Kouki Ooyatsu f00e9b2410 bugfix escape charactor for Regexp class 2013-03-21 17:12:09 +09:00
FUKUZAWA-Tadashi cdf8114e27 %I %i literal 2013-03-19 00:41:15 +09:00
Yukihiro Matz Matsumoto 5217d88963 remove unused local variable beg in parser_yylex 2013-03-18 22:59:13 +09:00
FUKUZAWA-Tadashi 76c24894a7 bugfix about escaping '\n' 2013-03-17 21:27:38 +09:00
FUKUZAWA-Tadashi aec3e1c4ff refactor heredoc identifier 2013-03-17 21:27:38 +09:00
FUKUZAWA-Tadashi 44fbfc5184 implement literal %W %w %s
refactor string parsing
2013-03-17 21:27:37 +09:00
Masaki Muranaka 3aa3b4af90 Remove stdlib.h from mruby.h. It is for portability (care for freestanding environments).
This is a first step. It will be reduced stdlib.h in each files later.
2013-03-16 21:29:39 +09:00
Yukihiro Matz Matsumoto 243669308d obsolete mrb_object; opposite of bc870ce 2013-03-15 23:16:20 +09:00
Yukihiro Matz Matsumoto 9d0bbdb7f8 use size_t for string length C API 2013-03-14 19:33:38 +09:00
Yukihiro Matz Matsumoto 535a5489c7 remove PARANOID from comments 2013-03-14 18:47:59 +09:00
Yukihiro "Matz" Matsumoto 1ebebd304a Merge pull request #987 from monaka/pr-clean-up-parse.y-20130312
Clean up parse.y.
2013-03-14 02:46:48 -07:00
Masaki Muranaka dd29e05f8e Use int. They are no need to use unsigned/signed long. Think about 16bit architectures. 2013-03-12 20:00:48 +09:00
Masaki Muranaka 2c54cf2e59 Add comments for paradnoid (a.k.a. mission critical) engineers. 2013-03-12 19:59:12 +09:00
Masaki Muranaka e1d2f50e47 Remove a meaningless type cast. 2013-03-12 19:55:18 +09:00
Masaki Muranaka d62f497bdd Fix indents. 2013-03-12 17:23:41 +09:00
mattn 1d42e8caa8 Remove warning for regexp 2013-03-06 14:40:39 +09:00
Masaki Muranaka 5a025813b5 Include stdio.h in mrbconf.h instead of C extension sources. 2013-03-05 01:38:51 +09:00
kano4 d4c279aa8d Replace tabs with spaces 2013-03-04 21:45:47 +09:00
Yukihiro Matz Matsumoto abecb78144 allow reserved word for heredoc terminator 2013-03-04 10:07:42 +09:00
Yukihiro Matz Matsumoto 20a5d57d16 applied a patch from @cremo to support MSVC 2013-03-04 09:55:45 +09:00
Yukihiro Matz Matsumoto 02dba48367 Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into FUKUZAWA-Tadashi-heredoc 2013-03-04 09:49:16 +09:00
FUKUZAWA-Tadashi 73309aefa5 delete trailing space 2013-03-03 21:08:59 +09:00
FUKUZAWA-Tadashi 1af4110f7d implement heredoc 2013-03-03 20:08:13 +09:00
Kouki Ooyatsu 1a7bb9dfa6 cleanup: delete commented out match_op() from parse.y 2013-03-03 03:22:59 +09:00