Commit Graph

34 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 6f6c270bb1 mirb should detect end of expression smarter 2012-05-19 16:15:11 +09:00
Yukihiro Matsumoto aeca23166b remove dependency to node.h and pool.h 2012-05-19 15:52:47 +09:00
Yukihiro Matsumoto cb8b4691f0 p->tree may be NULL; close #161 2012-05-19 15:37:41 +09:00
Yukihiro Matsumoto e306bfaf94 failed to initialize source string 2012-05-18 14:23:40 +09:00
Yukihiro Matsumoto 219162117a move compile.h to mruby/compile.h 2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto ec6c6df995 yywarn should use warn_buffer not error_buffer 2012-05-18 11:17:07 +09:00
Yukihiro Matsumoto 5223c0a6ac remove mrb_parse_nstring_ext; use mrb_parser_new() then set p->capture_error = 1; then call mrb_parser_parse(); see tool/mirb/mirb.c 2012-05-18 11:07:11 +09:00
Yukihiro Matsumoto 61d8bb132e keep toplevel local variables; close #133 2012-05-18 11:04:36 +09:00
Yukihiro Matsumoto a18fb01b03 new API for parser 2012-05-18 11:03:43 +09:00
Yukihiro Matsumoto 434ed1ed7c compile error should contain line number 2012-05-17 23:46:55 +09:00
Yukihiro Matsumoto 0bae9c505c print line number in compile error messages 2012-05-17 19:09:50 +09:00
Yukihiro Matsumoto 89e31b5838 too many line count in nextc() 2012-05-17 19:09:29 +09:00
Yukihiro Matsumoto 490fa45298 add cast to remove warning; close #154 2012-05-17 16:38:37 +09:00
Yukihiro Matsumoto 103ef78e59 no SEGV for nth_ref & back_ref; close #152 2012-05-17 13:21:01 +09:00
Yukihiro Matsumoto db20b4e063 ignore return value from strtod() 2012-05-17 09:23:18 +09:00
Masaki Muranaka c6f0e296bd Remove some redundant function declarations. 2012-05-16 14:31:48 +09:00
Masaki Muranaka 40d122dede Simplify while loop in peek_n(). 2012-05-12 14:21:06 +09:00
Yukihiro Matsumoto 95d1d002d9 begin/end block should be isolated from outside; ported from CRuby r35620 2012-05-11 23:29:24 +09:00
Hiroyuki Iwatsuki 41b1758bc4 intptr_t uses to cast only. 2012-05-07 16:31:11 +09:00
Yuichiro MASUI 11b6366e48 add const to char* 2012-05-06 20:04:33 +09:00
Yukihiro Matsumoto 1032e9eecc allow spaces between lambda arrow and
parenthesis.  [ruby-dev:45605][Feature #6390]
2012-05-03 10:35:31 +09:00
Patrick Hogan ec27c18dae Fix a few casting warnings.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com>
2012-04-26 08:36:32 -05:00
Yukihiro Matsumoto 5aa1c95710 parse.y: skip() should not ignore end-of-file; fix #55 2012-04-26 09:05:02 +09:00
Yukihiro Matsumoto f9339f5c67 EXPR_BEG by keywords is a start point of commands; backport r35457 from CRuby 2012-04-24 18:25:26 +09:00
NAKAMURA Usaku 9a5e93bfcb ``__END__'' must start at the beginning of the line. 2012-04-23 17:08:44 +09:00
NAKAMURA Usaku 6db869c33d Support ``__END__'' as the mark of the end of a script (ISO Ruby). 2012-04-23 14:42:05 +09:00
mimaki c80487561f Merge branch 'master' of github.com:mruby/mruby
Conflicts:
	src/variable.c
2012-04-23 11:51:47 +09:00
mimaki 835443614d add file header 2012-04-23 11:46:16 +09:00
Frank Celler 844d7d49b3 allow errors & warning to be captured 2012-04-22 08:53:55 +02:00
Frank Celler 9760b7f126 simple fix for underflow 2012-04-22 07:40:31 +02:00
Frank Celler fc125524b2 only increment position, if no error has occured 2012-04-21 23:30:34 +02:00
lucas dicioccio 669cfc7f66 typo in the node's comment 2012-04-21 12:02:12 +02:00
Yusuke Endoh dd1527cfc8 make %(foo) work 2012-04-20 14:14:01 +09:00
mimaki e0d6430f63 add mruby sources 2012-04-20 09:39:03 +09:00