Patrick Hogan
ec27c18dae
Fix a few casting warnings.
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
a408ba2dd6
Remove unused ret argument from kh_put.
...
It doesn't appear to serve any purpose and allows removing warning about various unused variables littered around.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
a4c9853813
More switch statement cleanup.
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
132dd25528
Remove a bunch of unused variables.
...
Removed or commented out to stop compiler whining about them.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
4b99def2ae
Clean up switch statements.
...
Some formatting and add default label to silence warning about unhanded cases.
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Patrick Hogan
db20b5142b
mrb_ary_dup is only used by mrb_ary_sort which is removed by #if 0
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-26 08:36:32 -05:00
Yukihiro Matsumoto
7b3d628c86
use mrb_float instead of double
2012-04-26 11:13:45 +09: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
0486c48b1a
do not use strdup(3) that use malloc(3) inside; should use mrb_malloc()
2012-04-26 08:43:05 +09:00
Yukihiro Matsumoto
c6f5f637e2
supeclass type check prohibits class definition without superclass specified
2012-04-26 06:07:41 +09:00
Yukihiro Matsumoto
e26bf08e39
tools/mruby: multiple -e should concatenate command line args
2012-04-25 22:57:12 +09:00
Yukihiro Matsumoto
140b9cad8b
Merge branch 'master' of github.com:mruby/mruby
2012-04-25 11:50:21 +09:00
Yukihiro Matsumoto
86946043c3
disclose mrb_top_self() and use it in mruby.c
2012-04-25 11:50:03 +09:00
Yukihiro "Matz" Matsumoto
68b76fcdec
Merge pull request #50 from mattn/e_flag
...
add -e flag.
2012-04-24 19:39:59 -07:00
Yukihiro "Matz" Matsumoto
0a0bc729ba
Merge pull request #49 from mattn/exit_code
...
return 0 if code is generated.
2012-04-24 19:38:35 -07:00
mattn
bc41445714
add -e flag.
2012-04-25 10:16:38 +09:00
mattn
2c64c712db
return 0 if code is generated.
2012-04-25 09:43:10 +09:00
Yukihiro "Matz" Matsumoto
7edd7762b0
Merge pull request #48 from pbhogan/call-dfree-on-rdata-at-gc
...
Call dfree member on RData / MRB_TT_DATA when collected
2012-04-24 06:48:29 -07:00
Patrick Hogan
f41aae73fd
Call dfree member on RData/MRB_TT_DATA when collected
...
Signed-off-by: Patrick Hogan <pbhogan@gmail.com >
2012-04-24 08:39:32 -05:00
Yukihiro Matsumoto
8ab46d241c
superclass should be a class
2012-04-24 18:27:35 +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
Yukihiro Matsumoto
8b367098ac
move header files {irep,dump,cdump,ritehash}.h to /include/mruby
2012-04-24 17:41:28 +09:00
Yukihiro Matsumoto
2970b6aadb
change type of RString.size from size_t to long
2012-04-24 16:03:42 +09:00
Yukihiro Matsumoto
2fc1b8af2d
mv variable.h to mruby/variable.h
2012-04-24 15:59:50 +09:00
Yukihiro Matsumoto
a5c0d2a996
remove st_hash_type comment
2012-04-24 11:00:06 +09:00
Yukihiro Matsumoto
d4ef3baca8
remove code for unsupported taint-mode
2012-04-23 18:30:49 +09:00
Yukihiro Matsumoto
1605ec8cd4
wrong type argument for mrb_funcall
2012-04-23 18:25:08 +09:00
Yukihiro Matsumoto
a45c23990b
fix inheritance chain; fix #41
2012-04-23 18:14:18 +09:00
Yukihiro "Matz" Matsumoto
0e2c8ec57c
Merge pull request #44 from unak/__end__
...
``__END__'' must start at the beginning of the line.
2012-04-23 01:17:14 -07:00
NAKAMURA Usaku
9a5e93bfcb
``__END__'' must start at the beginning of the line.
2012-04-23 17:08:44 +09:00
Yukihiro "Matz" Matsumoto
daedb2b9de
Merge pull request #43 from unak/__end__
...
Support ``__END__'' as the mark of the end of a script (ISO Ruby).
2012-04-22 23:49:53 -07: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
Yukihiro "Matz" Matsumoto
3f0b98762d
Merge pull request #42 from takahashim/fix-clean-mrblib
...
Force to remove mrblib/mrblib.d
2012-04-22 18:50:39 -07:00
takahashim
359fe9dfdc
force to remove mrblib/mrblib.d
2012-04-23 10:20:36 +09:00
snaba
1f87caa2c7
Merge branch 'master' of github.com:mruby/mruby
2012-04-23 09:42:29 +09:00
Yukihiro "Matz" Matsumoto
cf6e7966d3
Merge pull request #35 from fceller/master
...
simple fix for underflow / capture errors and warnings
2012-04-22 16:58:19 -07:00
Yukihiro "Matz" Matsumoto
7feb68eb90
Merge pull request #37 from k-tsj/fix-proc-segv
...
Fix SEGV when calling Proc object created by Proc.new
2012-04-22 16:55:49 -07:00
Yukihiro "Matz" Matsumoto
484a5f6779
Merge pull request #39 from MobiRuby/make_clean
...
Fixed to forget to remove some files on 'make clean'
2012-04-22 16:45:29 -07:00
Yukihiro Matsumoto
a639479c27
update .gitignore based on pull-request #36
2012-04-23 08:43:16 +09:00
Yukihiro "Matz" Matsumoto
7fdb5634b1
Merge pull request #40 from w-x-l/master
...
Ignore files created from building
2012-04-22 16:37:56 -07:00
Wuffers Lightwolf
afefad8cd5
Ignore files made from build
2012-04-22 15:33:12 -05:00
Yuichiro MASUI
f9d4a5a02b
Fixed to forget to remove some files on 'make clean'
2012-04-23 03:06:01 +09:00
Kazuki Tsujimoto
5859a204fe
Fix SEGV when calling Proc object created by Proc.new
2012-04-22 19:23:44 +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
Yukihiro "Matz" Matsumoto
2b9ed5acd1
Merge pull request #31 from lucasdicioccio/master
...
simple typo in a comment
2012-04-21 05:08:43 -07:00
lucas dicioccio
669cfc7f66
typo in the node's comment
2012-04-21 12:02:12 +02:00