Commit Graph

17 Commits

Author SHA1 Message Date
Jack Danger Canty 2bf4952284 Adding line numbers to the output of mirb.
Before:

    > "hi"
    hi
    > d
    (mirb):1: undefined method 'd' for main (NoMethodError)
    > d
    (mirb):1: undefined method 'd' for main (NoMethodError)
    > "hi"
    hi
    > "#{'}"
    line 1: unterminated string meets end of file

After

    > "hi"
    hi
    > d
    (mirb):2: undefined method 'd' for main (NoMethodError)
    > d
    (mirb):3: undefined method 'd' for main (NoMethodError)
    > "hi"
    hi
    > "#{'}"
    line 5: unterminated string meets end of file
2013-08-13 09:53:52 -07:00
Carson McDonald d2e38eab0a Set filename like irb 2013-08-03 14:42:22 -04:00
Yukihiro "Matz" Matsumoto 0591413ebd Merge pull request #1402 from mattn/check_home_is_null
Check home is null
2013-07-23 05:45:33 -07:00
Yukihiro "Matz" Matsumoto 9783e9d81c resolve conflict 2013-07-23 21:44:32 +09:00
Yukihiro "Matz" Matsumoto 07b75ca922 Merge pull request #1399 from carsonmcdonald/readlinelinkfix
If readline is enabled add readline to libraries to link
2013-07-23 05:36:19 -07:00
mattn c8f1f7fdf6 Check home is null 2013-07-23 12:13:50 +09:00
Tomoyuki Sahara 116f75a8ce "spec.author" is better for single-author gems.
"spec.author=" expects a String represents a single author.
"spec.authors=" expects an Array which is a list of multiple authors.

http://guides.rubygems.org/specification-reference/
2013-07-23 10:09:24 +09:00
Carson McDonald bd505cc8bb If readline is enabled add readline to libraries to link 2013-07-22 18:33:45 -04:00
Carson McDonald 8db22d4dfe Move home variable into readline ifdef 2013-07-22 18:24:17 -04:00
kyab 1fe65b2522 Use env[USERPROFILE] for Windows 2013-07-18 18:15:05 +09:00
kyab 4306fe798f Save mirb history when readline enabled 2013-07-18 00:14:03 +09:00
Jun Hiroe 8e42868600 Repalace int with mrb_bool because a return value is boolean. 2013-07-15 23:17:12 +09:00
Jun Hiroe 3cf1a9beae Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr(). 2013-07-14 00:39:21 +09:00
Yukihiro "Matz" Matsumoto 595b1990bc mirb should handle exception from inspect; close #1238 2013-05-08 16:25:20 +09:00
Yukihiro "Matz" Matsumoto c79172dfd5 put spaces after if/while 2013-04-20 23:11:43 +09:00
Yukihiro "Matz" Matsumoto cf7fb8819f Merge branch 'monaka-pr-move-mirb-mruby-to-mrbgems' 2013-04-11 18:44:30 +09:00
Yukihiro "Matz" Matsumoto 65fccc2899 rename mruby,mirb gems to mruby-bin-{mruby,mirb} 2013-04-11 18:43:03 +09:00