* debug.c (ruby_debug_node): fix to show node line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dfc0ac4298
commit
84fbcb9694
@ -1,3 +1,7 @@
|
|||||||
|
Thu May 17 12:56:52 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* debug.c (ruby_debug_node): fix to show node line.
|
||||||
|
|
||||||
Wed May 16 21:48:44 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
Wed May 16 21:48:44 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
* lib/logger.rb (Logger::Application): remove meaningless logdev
|
* lib/logger.rb (Logger::Application): remove meaningless logdev
|
||||||
|
4
debug.c
4
debug.c
@ -58,8 +58,8 @@ NODE *
|
|||||||
ruby_debug_node(int level, int debug_level, char *header, NODE *node)
|
ruby_debug_node(int level, int debug_level, char *header, NODE *node)
|
||||||
{
|
{
|
||||||
if (level < debug_level) {
|
if (level < debug_level) {
|
||||||
fprintf(stderr, "DBG> %s: %s\n", header, ruby_node_name(nd_type(node)));
|
fprintf(stderr, "DBG> %s: %s (%d)\n", header,
|
||||||
fflush(stderr);
|
ruby_node_name(nd_type(node)), nd_line(node));
|
||||||
}
|
}
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-05-15"
|
#define RUBY_RELEASE_DATE "2007-05-17"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20070515
|
#define RUBY_RELEASE_CODE 20070517
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
@ -9,7 +9,7 @@
|
|||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 5
|
#define RUBY_RELEASE_MONTH 5
|
||||||
#define RUBY_RELEASE_DAY 15
|
#define RUBY_RELEASE_DAY 17
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user