summaryrefslogtreecommitdiffstats
path: root/sprintf.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-28 12:49:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-28 12:49:31 +0000
commitf602da0c0dbc97b498849435163a189c0f426607 (patch)
treeb0ab080f0945effd799de3581d6ba33c9761144d /sprintf.c
parent1a9e0dc5ba6a869c8ef40aed12f1c206a2c15684 (diff)
downloadruby-f602da0c0dbc97b498849435163a189c0f426607.tar.gz
ruby-f602da0c0dbc97b498849435163a189c0f426607.tar.xz
ruby-f602da0c0dbc97b498849435163a189c0f426607.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@8862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sprintf.c b/sprintf.c
index c29ca23b2..7e2178e93 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -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