mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (rb_parser_end_seen_p): exclude from ripper.
<http://moonrock.jp/~don/d/200507.html#d28_t2> * sprintf.c (clearerr): remove standard macro before re-definition. <http://moonrock.jp/~don/d/200507.html#d28_t3> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
41d41fbdb9
commit
b4fef39a40
3 changed files with 21 additions and 12 deletions
30
ChangeLog
30
ChangeLog
|
@ -1,34 +1,42 @@
|
|||
Thu Jul 28 21:49:17 2005 IWATSUKI Hiroyuki <don@na.rim.or.jp>
|
||||
|
||||
* parse.y (rb_parser_end_seen_p): exclude from ripper.
|
||||
<http://moonrock.jp/~don/d/200507.html#d28_t2>
|
||||
|
||||
* sprintf.c (clearerr): remove standard macro before re-definition.
|
||||
<http://moonrock.jp/~don/d/200507.html#d28_t3>
|
||||
|
||||
Thu Jul 28 18:09:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize
|
||||
routine creates a Tcl/Tk interpreter and deletes it. However,
|
||||
init cost of Tk's MainWindow is not so small. And that makes it
|
||||
impossible to use libraries written with Tcl functions only on
|
||||
routine creates a Tcl/Tk interpreter and deletes it. However,
|
||||
init cost of Tk's MainWindow is not so small. And that makes it
|
||||
impossible to use libraries written with Tcl functions only on
|
||||
an environment without a graphical display. This changes support
|
||||
delaying initalization of Tk_Stubs until the script needs Tk.
|
||||
|
||||
* ext/tk/stubs.h: New file. Define prototypes and return codes of
|
||||
* ext/tk/stubs.h: New file. Define prototypes and return codes of
|
||||
functions on stubs.c.
|
||||
|
||||
* ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs
|
||||
* ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs
|
||||
until the script needs Tk.
|
||||
|
||||
* ext/tk/tcltklib.c: Show friendly error messages for errors on
|
||||
* ext/tk/tcltklib.c: Show friendly error messages for errors on
|
||||
initialization.
|
||||
|
||||
* ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
|
||||
exiting and $DEBUG is true. (Not fix. If you know the reason of
|
||||
* ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
|
||||
exiting and $DEBUG is true. (Not fix. If you know the reason of
|
||||
why, please fix it.)
|
||||
|
||||
* ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling
|
||||
* ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling
|
||||
of encoding.
|
||||
|
||||
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
|
||||
don't work propery.
|
||||
don't work propery.
|
||||
|
||||
* ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk.
|
||||
|
||||
* ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
|
||||
* ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
|
||||
object for an element of a Tcl's array variable.
|
||||
|
||||
Thu Jul 28 17:23:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
|
2
parse.y
2
parse.y
|
@ -8791,7 +8791,6 @@ rb_parser_new()
|
|||
|
||||
return Data_Wrap_Struct(0, parser_mark, parser_free, p);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
|
@ -8809,6 +8808,7 @@ rb_parser_end_seen_p(vparser)
|
|||
Data_Get_Struct(vparser, struct parser_params, parser);
|
||||
return ruby__end__seen ? Qtrue : Qfalse;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef RIPPER
|
||||
#ifdef RIPPER_DEBUG
|
||||
|
|
|
@ -837,6 +837,7 @@ fmt_setup(buf, c, flags, width, prec)
|
|||
#define __sFILE rb_printf_sfile
|
||||
#undef feof
|
||||
#undef ferror
|
||||
#undef clearerr
|
||||
#undef fileno
|
||||
#if SIZEOF_LONG < SIZEOF_VOIDP
|
||||
# if SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue