mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ca2129889 | |||
| 056cda72be | |||
| 762ca43c16 |
@@ -20,7 +20,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
|
||||
|
||||
## How to get mruby
|
||||
|
||||
The release candidate version 3.2.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/3.2.0-rc3.zip](https://github.com/mruby/mruby/archive/3.2.0-rc3.zip)
|
||||
The release candidate version 3.2.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/3.2.0-rc4.zip](https://github.com/mruby/mruby/archive/3.2.0-rc4.zip)
|
||||
|
||||
The latest development version of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/zipball/master](https://github.com/mruby/mruby/zipball/master)
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Patch level string. (optional)
|
||||
*/
|
||||
#define MRUBY_PATCHLEVEL_STR "RC3"
|
||||
#define MRUBY_PATCHLEVEL_STR "RC4"
|
||||
|
||||
#ifndef MRUBY_PATCHLEVEL_STR
|
||||
# if MRUBY_PATCHLEVEL < 0
|
||||
@@ -85,12 +85,12 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Release month.
|
||||
*/
|
||||
#define MRUBY_RELEASE_MONTH 1
|
||||
#define MRUBY_RELEASE_MONTH 2
|
||||
|
||||
/*
|
||||
* Release day.
|
||||
*/
|
||||
#define MRUBY_RELEASE_DAY 23
|
||||
#define MRUBY_RELEASE_DAY 8
|
||||
|
||||
/*
|
||||
* Release date as a string.
|
||||
|
||||
@@ -7,6 +7,12 @@ assert('mirb normal operations') do
|
||||
assert_true o.include?('=> 2')
|
||||
end
|
||||
|
||||
assert('mirb multi-line') do
|
||||
o, s = Open3.capture2(cmd("mirb"), :stdin_data => "def a(b)\n return b\n end\na(1)\n")
|
||||
assert_true o.include?('=> :a')
|
||||
assert_true o.include?('=> 1')
|
||||
end
|
||||
|
||||
assert('regression for #1563') do
|
||||
o, s = Open3.capture2(cmd("mirb"), :stdin_data => "a=1;b=2;c=3\nb\nc")
|
||||
assert_true o.include?('=> 3')
|
||||
|
||||
@@ -150,7 +150,7 @@ is_code_block_open(struct mrb_parser_state *parser)
|
||||
|
||||
/* check if parser error are available */
|
||||
if (0 < parser->nerr) {
|
||||
const char unexpected_end[] = "syntax error, unexpected $end";
|
||||
const char unexpected_end[] = "syntax error, unexpected end of file";
|
||||
const char *message = parser->error_buffer[0].message;
|
||||
|
||||
/* a parser error occur, we have to check if */
|
||||
|
||||
Reference in New Issue
Block a user