[前][次][番号順一覧][スレッド一覧]

ruby-changes:6952

From: nobu <ko1@a...>
Date: Sun, 10 Aug 2008 12:20:34 +0900 (JST)
Subject: [ruby-changes:6952] Ruby:r18470 (ruby_1_8, trunk): * configure.in,parse.y: removed garbage spaces.

nobu	2008-08-10 12:15:37 +0900 (Sun, 10 Aug 2008)

  New Revision: 18470

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18470

  Log:
    * configure.in,parse.y: removed garbage spaces.

  Modified files:
    branches/ruby_1_8/configure.in
    branches/ruby_1_8/parse.y
    trunk/configure.in
    trunk/parse.y

Index: configure.in
===================================================================
--- configure.in	(revision 18469)
+++ configure.in	(revision 18470)
@@ -228,7 +228,7 @@
 	AC_TRY_LINK([#include <stdio.h>],
 		    [FILE* volatile f = stdin; return 0;],
 		    [rb_cv_msvcrt=`$OBJDUMP -p conftest$ac_exeext |
-		     		   tr A-Z a-z |
+				   tr A-Z a-z |
 				   sed -n '/^[[ 	]]*dll name: \(msvc.*\)\.dll$/{s//\1/p;q;}'`],
 		    [rb_cv_msvcrt=msvcrt])
 	test "$rb_cv_msvcrt" = "" && rb_cv_msvcrt=msvcrt])
@@ -834,7 +834,7 @@
 AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight,
   [AC_TRY_LINK([#include <time.h>
   int i;],
-  	[i = daylight;],
+	[i = daylight;],
 	rb_cv_have_daylight=yes,
 	rb_cv_have_daylight=no)])
 if test "$rb_cv_have_daylight" = yes; then
@@ -1040,9 +1040,9 @@
     ; do
         AC_TRY_COMPILE([#include <stdio.h>
     ],
-  	[FILE *f = stdin; char buf[256]; f->$frend = buf;],
-  	rb_cv_frend="$frend"; break,
-  	rb_cv_frend="not found")
+	[FILE *f = stdin; char buf[256]; f->$frend = buf;],
+	rb_cv_frend="$frend"; break,
+	rb_cv_frend="not found")
     done])
     if test "$rb_cv_frend" = "not found"; then
       AC_MSG_RESULT([not found])
@@ -1108,7 +1108,7 @@
 
 if test x"$enable_pthread" = xyes; then
     for pthread_lib in thr pthread pthreads c c_r root; do
- 	AC_CHECK_LIB($pthread_lib, pthread_kill,
+	AC_CHECK_LIB($pthread_lib, pthread_kill,
 		     rb_with_pthread=yes, rb_with_pthread=no)
 	if test "$rb_with_pthread" = "yes"; then break; fi
     done
@@ -1125,7 +1125,7 @@
 	    MAINLIBS="-pthread $MAINLIBS"
 	    ;;
 	*)
-      	    LIBS="-l$pthread_lib $LIBS"
+	    LIBS="-l$pthread_lib $LIBS"
 	    ;;
 	esac
     else
@@ -1306,7 +1306,7 @@
 	solaris*) 	if test "$GCC" = yes; then
                           : ${LDSHARED='$(CC) -shared'}
 			   if test "$rb_cv_prog_gnu_ld" = yes; then
-	 		       LDFLAGS="$LDFLAGS -Wl,-E"
+			       LDFLAGS="$LDFLAGS -Wl,-E"
 			   fi
 			else
 			   : ${LDSHARED='ld -G'}
@@ -1672,7 +1672,7 @@
 	else	# a.out platforms
 	   LIBRUBY_ALIASES=""
 	fi
- 	;;
+	;;
     openbsd*)
 	SOLIBS='$(LIBS)'
 	LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
@@ -1685,7 +1685,7 @@
 	    LIBRUBY_DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(@F)'
 	fi
 	XLDFLAGS="$XLDFLAGS "'-R${libdir}'
- 	;;
+	;;
     hpux*)
 	XLDFLAGS="$XLDFLAGS "'-Wl,+s,+b,$(libdir)'
 	LIBRUBY_SO='lib$(RUBY_SO_NAME).sl.$(MAJOR).$(MINOR).$(TEENY)'
@@ -1741,7 +1741,7 @@
     linux*)
 	;;
     netbsd*)
-    	CFLAGS="$CFLAGS -pipe"
+	CFLAGS="$CFLAGS -pipe"
 	;;
     nextstep*|openstep*)
 	# The -fno-common is needed if we wish to embed the Ruby interpreter
@@ -1751,18 +1751,18 @@
 	# fails to consult /usr/local/include by default.  This causes
 	# mkmf.rb's have_header() to fail if the desired resource happens to be
 	# installed in the /usr/local tree.
-    	CFLAGS="$CFLAGS -pipe -fno-common"
+	CFLAGS="$CFLAGS -pipe -fno-common"
 	CPPFLAGS="$CPPFLAGS -I/usr/local/include"
 	;;
     rhapsody*)
-    	CFLAGS="$CFLAGS -pipe -no-precomp -fno-common"
+	CFLAGS="$CFLAGS -pipe -no-precomp -fno-common"
 	;;
     darwin*)
-    	CFLAGS="$CFLAGS -pipe -fno-common"
+	CFLAGS="$CFLAGS -pipe -fno-common"
         MINIDLNOBJ=dmydln.o
 	;;
     os2-emx)
-    	CFLAGS="$CFLAGS -DOS2 -Zmts"
+	CFLAGS="$CFLAGS -DOS2 -Zmts"
 	LIBRUBY_A=`echo $LIBRUBY_A | sed 's/^lib//'`
 	LIBRUBY_SO=`echo $LIBRUBY_SO | sed 's/^lib//'`
 	LIBRUBY_ALIASES=`for i in $LIBRUBY_ALIASES; do echo "$i"; done | sed 's/^lib//'`
Index: parse.y
===================================================================
--- parse.y	(revision 18469)
+++ parse.y	(revision 18470)
@@ -4918,7 +4918,7 @@
 		return -1;
 	    }
 	}
-	{	
+	{
 #ifdef RIPPER
 	    if (parser->tokp < lex_pend) {
 		if (NIL_P(parser->delayed)) {
@@ -5036,7 +5036,7 @@
      * If string_literal is true, then we allow multiple codepoints
      * in \u{}, and add the codepoints to the current token.
      * Otherwise we're parsing a character literal and return a single
-     * codepoint without adding it 
+     * codepoint without adding it
      */
 
     int codepoint;
@@ -6077,7 +6077,7 @@
 
       case '#':		/* it's a comment */
 	/* no magic_comment in shebang line */
-	if (parser->line_count == (parser->has_shebang ? 2 : 1) 
+	if (parser->line_count == (parser->has_shebang ? 2 : 1)
 	    && (lex_p - lex_pbeg) == 1) {
 	    if (!parser_magic_comment(parser, lex_p, lex_pend - lex_p)) {
 		set_file_encoding(parser, lex_p, lex_pend);
@@ -8650,7 +8650,7 @@
     }
     var = rb_intern3(s, len, enc);
     if (dvar_defined(var) || local_id(var)) {
-        rb_warningS("named capture conflicts a local variable - %s", 
+        rb_warningS("named capture conflicts a local variable - %s",
                     rb_id2name(var));
     }
     arg->succ_block = block_append(arg->succ_block,
@@ -8680,7 +8680,7 @@
     if (arg.num == 0)
         return match;
 
-    return 
+    return
         block_append(
             newline_node(match),
             NEW_IF(gettable(rb_intern("$~")),
@@ -9014,7 +9014,7 @@
 	  default: return Qfalse;
 	}
 	break;
-	    
+
       default:
 	localid = !rb_enc_isupper(*m, enc);
       id:
Index: ruby_1_8/parse.y
===================================================================
--- ruby_1_8/parse.y	(revision 18469)
+++ ruby_1_8/parse.y	(revision 18470)
@@ -6282,15 +6282,15 @@
 /*
  *  call-seq:
  *     Symbol.all_symbols    => array
- *  
+ *
  *  Returns an array of all the symbols currently in Ruby's symbol
  *  table.
- *     
+ *
  *     Symbol.all_symbols.size    #=> 903
  *     Symbol.all_symbols[1,20]   #=> [:floor, :ARGV, :Binding, :symlink,
- *                                     :chown, :EOFError, :$;, :String, 
- *                                     :LOCK_SH, :"setuid?", :$<, 
- *                                     :default_proc, :compact, :extend, 
+ *                                     :chown, :EOFError, :$;, :String,
+ *                                     :LOCK_SH, :"setuid?", :$<,
+ *                                     :default_proc, :compact, :extend,
  *                                     :Tms, :getwd, :$=, :ThreadGroup,
  *                                     :wait2, :$>]
  */
Index: ruby_1_8/configure.in
===================================================================
--- ruby_1_8/configure.in	(revision 18469)
+++ ruby_1_8/configure.in	(revision 18470)
@@ -703,7 +703,7 @@
 AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight,
   [AC_TRY_LINK([#include <time.h>
   int i;],
-  	[i = daylight;],
+	[i = daylight;],
 	rb_cv_have_daylight=yes,
 	rb_cv_have_daylight=no)])
 if test "$rb_cv_have_daylight" = yes; then
@@ -849,7 +849,7 @@
 
 AC_CACHE_CHECK(whether right shift preserve sign bit, rb_cv_rshift_sign,
     [AC_COMPILE_IFELSE(AC_LANG_BOOL_COMPILE_TRY([], [(-1==(-1>>1))]),
-    	rb_cv_rshift_sign=yes,
+	rb_cv_rshift_sign=yes,
 	rb_cv_rshift_sign=no,
 	rb_cv_rshift_sign=yes)])
 if test "$rb_cv_rshift_sign" = yes; then
@@ -910,9 +910,9 @@
     ; do
         AC_TRY_COMPILE([#include <stdio.h>
     ],
-  	[FILE *f = stdin; char buf[256]; f->$frend = buf;],
-  	rb_cv_frend="$frend"; break,
-  	rb_cv_frend="not found")
+	[FILE *f = stdin; char buf[256]; f->$frend = buf;],
+	rb_cv_frend="$frend"; break,
+	rb_cv_frend="not found")
     done])
     if test "$rb_cv_frend" = "not found"; then
       AC_MSG_RESULT([not found])
@@ -1041,7 +1041,7 @@
 
 if test x"$enable_pthread" = xyes; then
     for pthread_lib in pthread pthreads c c_r; do
- 	AC_CHECK_LIB($pthread_lib, pthread_kill,
+	AC_CHECK_LIB($pthread_lib, pthread_kill,
 		     rb_with_pthread=yes, rb_with_pthread=no)
 	if test "$rb_with_pthread" = "yes"; then break; fi
     done
@@ -1056,7 +1056,7 @@
 	    MAINLIBS="-pthread $MAINLIBS"
 	    ;;
 	*)
-      	    LIBS="-l$pthread_lib $LIBS"
+	    LIBS="-l$pthread_lib $LIBS"
 	    ;;
 	esac
     else
@@ -1181,7 +1181,7 @@
 	solaris*) 	if test "$GCC" = yes; then
                           : ${LDSHARED='$(CC) -shared'}
 			   if test "$rb_cv_prog_gnu_ld" = yes; then
-	 		       LDFLAGS="$LDFLAGS -Wl,-E"
+			       LDFLAGS="$LDFLAGS -Wl,-E"
 			   fi
 			else
 			   : ${LDSHARED='ld -G'}
@@ -1517,7 +1517,7 @@
 	else	# a.out platforms
 	   LIBRUBY_ALIASES=""
 	fi
- 	;;
+	;;
     openbsd*)
 	SOLIBS='$(LIBS)'
 	LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
@@ -1530,7 +1530,7 @@
 	    LIBRUBY_DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(@F)'
 	fi
 	XLDFLAGS="$XLDFLAGS "'-R${libdir}'
- 	;;
+	;;
     hpux*)
 	XLDFLAGS="$XLDFLAGS "'-Wl,+s,+b,$(libdir)'
 	LIBRUBY_SO='lib$(RUBY_SO_NAME).sl.$(MAJOR).$(MINOR).$(TEENY)'
@@ -1582,7 +1582,7 @@
     linux*)
 	;;
     netbsd*)
-    	CFLAGS="$CFLAGS -pipe"
+	CFLAGS="$CFLAGS -pipe"
 	;;
     nextstep*|openstep*)
 	# The -fno-common is needed if we wish to embed the Ruby interpreter
@@ -1592,18 +1592,18 @@
 	# fails to consult /usr/local/include by default.  This causes
 	# mkmf.rb's have_header() to fail if the desired resource happens to be
 	# installed in the /usr/local tree.
-    	CFLAGS="$CFLAGS -pipe -fno-common"
+	CFLAGS="$CFLAGS -pipe -fno-common"
 	CPPFLAGS="$CPPFLAGS -I/usr/local/include"
 	;;
     rhapsody*)
-    	CFLAGS="$CFLAGS -pipe -no-precomp -fno-common"
+	CFLAGS="$CFLAGS -pipe -no-precomp -fno-common"
 	;;
     darwin*)
-    	CFLAGS="$CFLAGS -pipe -fno-common"
+	CFLAGS="$CFLAGS -pipe -fno-common"
 	MINIOBJS=dmydln.o
 	;;
     os2-emx)
-    	CFLAGS="$CFLAGS -DOS2 -Zmts"
+	CFLAGS="$CFLAGS -DOS2 -Zmts"
 	LIBRUBY_A=`echo $LIBRUBY_A | sed 's/^lib//'`
 	LIBRUBY_SO=`echo $LIBRUBY_SO | sed 's/^lib//'`
 	LIBRUBY_ALIASES=`for i in $LIBRUBY_ALIASES; do echo "$i"; done | sed 's/^lib//'`

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]