From 001d3930199cd113a2fdd42c487a24a9775a4d34 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 9 Dec 2008 07:14:13 +0000 Subject: * id.h, include/ruby/{intern,oniguruma}.h, regenc.h, regparse.h, template/*.tmpl: removed trailing garbage spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- id.h | 2 +- include/ruby/intern.h | 2 +- include/ruby/oniguruma.h | 4 ++-- regenc.h | 2 +- regparse.h | 2 +- template/id.h.tmpl | 2 +- template/insns.inc.tmpl | 2 +- template/insns_info.inc.tmpl | 4 ++-- template/known_errors.inc.tmpl | 2 +- template/minsns.inc.tmpl | 2 +- template/opt_sc.inc.tmpl | 2 +- template/optinsn.inc.tmpl | 2 +- template/optunifs.inc.tmpl | 4 ++-- template/vm.inc.tmpl | 2 +- template/vmtc.inc.tmpl | 2 +- template/yasmdata.rb.tmpl | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/id.h b/id.h index 40aaf2254c..b01ac08df0 100644 --- a/id.h +++ b/id.h @@ -1,7 +1,7 @@ /* DO NOT EDIT THIS FILE DIRECTLY */ /********************************************************************** - id.h - + id.h - $Author: ko1 $ created at: Thu Jul 12 04:38:07 2007 diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 25ca518f8b..d7ef170239 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -28,7 +28,7 @@ extern "C" { #endif #include "ruby/st.h" -/* +/* * Functions and variables that are used by more than one source file of * the kernel. */ diff --git a/include/ruby/oniguruma.h b/include/ruby/oniguruma.h index bc6905edaa..a8fa62208f 100644 --- a/include/ruby/oniguruma.h +++ b/include/ruby/oniguruma.h @@ -146,7 +146,7 @@ typedef struct { OnigCodePoint one_or_more_time; OnigCodePoint anychar_anytime; } OnigMetaCharTableType; - + typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* arg); typedef struct OnigEncodingTypeST { @@ -495,7 +495,7 @@ ONIG_EXTERN const OnigSyntaxType* OnigDefaultSyntax; #define ONIGERR_DEFAULT_ENCODING_IS_NOT_SETTED -21 #define ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR -22 /* general error */ -#define ONIGERR_INVALID_ARGUMENT -30 +#define ONIGERR_INVALID_ARGUMENT -30 /* syntax error */ #define ONIGERR_END_PATTERN_AT_LEFT_BRACE -100 #define ONIGERR_END_PATTERN_AT_LEFT_BRACKET -101 diff --git a/regenc.h b/regenc.h index 3844e4108d..c1d705b01a 100644 --- a/regenc.h +++ b/regenc.h @@ -181,7 +181,7 @@ ONIG_EXTERN const unsigned short OnigEncAsciiCtypeTable[]; #define ONIGENC_IS_ASCII_CODE_CASE_AMBIG(code) \ (ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_UPPER) ||\ ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_LOWER)) - + #ifdef ONIG_ENC_REGISTER extern int ONIG_ENC_REGISTER(const char *, OnigEncodingType*); #define OnigEncodingName(n) encoding_##n diff --git a/regparse.h b/regparse.h index cd653f5a8e..b6783264f2 100644 --- a/regparse.h +++ b/regparse.h @@ -192,7 +192,7 @@ typedef struct { AbsAddrType call_addr; /* for multiple call reference */ OnigDistance min_len; /* min length (byte) */ - OnigDistance max_len; /* max length (byte) */ + OnigDistance max_len; /* max length (byte) */ int char_len; /* character length */ int opt_count; /* referenced count in optimize_node_left() */ } EncloseNode; diff --git a/template/id.h.tmpl b/template/id.h.tmpl index 5fc0c528db..1be4bad997 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -2,7 +2,7 @@ /* DO NOT EDIT THIS FILE DIRECTLY */ /********************************************************************** - id.h - + id.h - $Author$ created at: Sun Oct 19 21:12:51 2008 diff --git a/template/insns.inc.tmpl b/template/insns.inc.tmpl index a64b39ccd2..6543686003 100644 --- a/template/insns.inc.tmpl +++ b/template/insns.inc.tmpl @@ -1,6 +1,6 @@ /** -*-c-*- This file contains YARV instructions list. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! diff --git a/template/insns_info.inc.tmpl b/template/insns_info.inc.tmpl index a58ac3ca64..d901c68257 100644 --- a/template/insns_info.inc.tmpl +++ b/template/insns_info.inc.tmpl @@ -1,10 +1,10 @@ /** -*-c-*- This file contains instruction information for yarv instruction sequence. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! - + If you want to fix something, you must edit 'template/insns_info.inc.tmpl' or insns2vm.rb */ diff --git a/template/known_errors.inc.tmpl b/template/known_errors.inc.tmpl index 23bca21362..c62114464f 100644 --- a/template/known_errors.inc.tmpl +++ b/template/known_errors.inc.tmpl @@ -1,4 +1,4 @@ -/** -*-c-*- +/** -*-c-*- * DO NOT EDIT * This file is automatically generated by tools/generic_erb.rb from * template/known_errors.inc.tmpl and defs/known_errors.def. diff --git a/template/minsns.inc.tmpl b/template/minsns.inc.tmpl index f994c9b53b..b9e037e978 100644 --- a/template/minsns.inc.tmpl +++ b/template/minsns.inc.tmpl @@ -1,6 +1,6 @@ /** -*-c-*- This file contains YARV instructions list, to define YARVCore::Instructions. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! diff --git a/template/opt_sc.inc.tmpl b/template/opt_sc.inc.tmpl index f5ad339663..7d7ce717dc 100644 --- a/template/opt_sc.inc.tmpl +++ b/template/opt_sc.inc.tmpl @@ -3,7 +3,7 @@ /*******************************************************************/ /** This file is for threaded code. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! diff --git a/template/optinsn.inc.tmpl b/template/optinsn.inc.tmpl index c7828fe960..b4b4b6b05a 100644 --- a/template/optinsn.inc.tmpl +++ b/template/optinsn.inc.tmpl @@ -3,7 +3,7 @@ /*******************************************************************/ /** This file is for threaded code. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! diff --git a/template/optunifs.inc.tmpl b/template/optunifs.inc.tmpl index 9b268f06fb..61364a3bd4 100644 --- a/template/optunifs.inc.tmpl +++ b/template/optunifs.inc.tmpl @@ -3,7 +3,7 @@ /*******************************************************************/ /** This file is for threaded code. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! @@ -21,7 +21,7 @@ UNIFIED_insn_name_1, UNIFIED_insn_name_2, ...}; ... - + static const int *const *const unified_insns_data[] = { UNIFIED_insn_nameA, UNIFIED_insn_nameB, ...}; diff --git a/template/vm.inc.tmpl b/template/vm.inc.tmpl index d152665f80..c21b3a83eb 100644 --- a/template/vm.inc.tmpl +++ b/template/vm.inc.tmpl @@ -3,7 +3,7 @@ /*******************************************************************/ /** This file is VM main loop. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! diff --git a/template/vmtc.inc.tmpl b/template/vmtc.inc.tmpl index f73bbc6323..5f1f51a08b 100644 --- a/template/vmtc.inc.tmpl +++ b/template/vmtc.inc.tmpl @@ -3,7 +3,7 @@ /*******************************************************************/ /** This file is for threaded code. - + ---- This file is auto generated by insns2vm.rb DO NOT TOUCH! diff --git a/template/yasmdata.rb.tmpl b/template/yasmdata.rb.tmpl index 95ad092e4f..a11df0a712 100644 --- a/template/yasmdata.rb.tmpl +++ b/template/yasmdata.rb.tmpl @@ -7,7 +7,7 @@ class VM InsnID2NO = { <%= insn_id2no %> } - + def self.id2insn_no id if InsnID2NO.has_key? id InsnID2NO[id] -- cgit v1.2.3