mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
b2e82f2dfb
commit
001d393019
16 changed files with 19 additions and 19 deletions
2
id.h
2
id.h
|
@ -1,7 +1,7 @@
|
||||||
/* DO NOT EDIT THIS FILE DIRECTLY */
|
/* DO NOT EDIT THIS FILE DIRECTLY */
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
id.h -
|
id.h -
|
||||||
|
|
||||||
$Author: ko1 $
|
$Author: ko1 $
|
||||||
created at: Thu Jul 12 04:38:07 2007
|
created at: Thu Jul 12 04:38:07 2007
|
||||||
|
|
|
@ -28,7 +28,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#include "ruby/st.h"
|
#include "ruby/st.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Functions and variables that are used by more than one source file of
|
* Functions and variables that are used by more than one source file of
|
||||||
* the kernel.
|
* the kernel.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -146,7 +146,7 @@ typedef struct {
|
||||||
OnigCodePoint one_or_more_time;
|
OnigCodePoint one_or_more_time;
|
||||||
OnigCodePoint anychar_anytime;
|
OnigCodePoint anychar_anytime;
|
||||||
} OnigMetaCharTableType;
|
} OnigMetaCharTableType;
|
||||||
|
|
||||||
typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* arg);
|
typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* arg);
|
||||||
|
|
||||||
typedef struct OnigEncodingTypeST {
|
typedef struct OnigEncodingTypeST {
|
||||||
|
@ -495,7 +495,7 @@ ONIG_EXTERN const OnigSyntaxType* OnigDefaultSyntax;
|
||||||
#define ONIGERR_DEFAULT_ENCODING_IS_NOT_SETTED -21
|
#define ONIGERR_DEFAULT_ENCODING_IS_NOT_SETTED -21
|
||||||
#define ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR -22
|
#define ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR -22
|
||||||
/* general error */
|
/* general error */
|
||||||
#define ONIGERR_INVALID_ARGUMENT -30
|
#define ONIGERR_INVALID_ARGUMENT -30
|
||||||
/* syntax error */
|
/* syntax error */
|
||||||
#define ONIGERR_END_PATTERN_AT_LEFT_BRACE -100
|
#define ONIGERR_END_PATTERN_AT_LEFT_BRACE -100
|
||||||
#define ONIGERR_END_PATTERN_AT_LEFT_BRACKET -101
|
#define ONIGERR_END_PATTERN_AT_LEFT_BRACKET -101
|
||||||
|
|
2
regenc.h
2
regenc.h
|
@ -181,7 +181,7 @@ ONIG_EXTERN const unsigned short OnigEncAsciiCtypeTable[];
|
||||||
#define ONIGENC_IS_ASCII_CODE_CASE_AMBIG(code) \
|
#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_UPPER) ||\
|
||||||
ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_LOWER))
|
ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_LOWER))
|
||||||
|
|
||||||
#ifdef ONIG_ENC_REGISTER
|
#ifdef ONIG_ENC_REGISTER
|
||||||
extern int ONIG_ENC_REGISTER(const char *, OnigEncodingType*);
|
extern int ONIG_ENC_REGISTER(const char *, OnigEncodingType*);
|
||||||
#define OnigEncodingName(n) encoding_##n
|
#define OnigEncodingName(n) encoding_##n
|
||||||
|
|
|
@ -192,7 +192,7 @@ typedef struct {
|
||||||
AbsAddrType call_addr;
|
AbsAddrType call_addr;
|
||||||
/* for multiple call reference */
|
/* for multiple call reference */
|
||||||
OnigDistance min_len; /* min length (byte) */
|
OnigDistance min_len; /* min length (byte) */
|
||||||
OnigDistance max_len; /* max length (byte) */
|
OnigDistance max_len; /* max length (byte) */
|
||||||
int char_len; /* character length */
|
int char_len; /* character length */
|
||||||
int opt_count; /* referenced count in optimize_node_left() */
|
int opt_count; /* referenced count in optimize_node_left() */
|
||||||
} EncloseNode;
|
} EncloseNode;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* DO NOT EDIT THIS FILE DIRECTLY */
|
/* DO NOT EDIT THIS FILE DIRECTLY */
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
id.h -
|
id.h -
|
||||||
|
|
||||||
$Author$
|
$Author$
|
||||||
created at: Sun Oct 19 21:12:51 2008
|
created at: Sun Oct 19 21:12:51 2008
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/** -*-c-*-
|
/** -*-c-*-
|
||||||
This file contains YARV instructions list.
|
This file contains YARV instructions list.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/** -*-c-*-
|
/** -*-c-*-
|
||||||
This file contains instruction information for yarv instruction sequence.
|
This file contains instruction information for yarv instruction sequence.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
||||||
If you want to fix something, you must edit 'template/insns_info.inc.tmpl'
|
If you want to fix something, you must edit 'template/insns_info.inc.tmpl'
|
||||||
or insns2vm.rb
|
or insns2vm.rb
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/** -*-c-*-
|
/** -*-c-*-
|
||||||
* DO NOT EDIT
|
* DO NOT EDIT
|
||||||
* This file is automatically generated by tools/generic_erb.rb from
|
* This file is automatically generated by tools/generic_erb.rb from
|
||||||
* template/known_errors.inc.tmpl and defs/known_errors.def.
|
* template/known_errors.inc.tmpl and defs/known_errors.def.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/** -*-c-*-
|
/** -*-c-*-
|
||||||
This file contains YARV instructions list, to define YARVCore::Instructions.
|
This file contains YARV instructions list, to define YARVCore::Instructions.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/**
|
/**
|
||||||
This file is for threaded code.
|
This file is for threaded code.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/**
|
/**
|
||||||
This file is for threaded code.
|
This file is for threaded code.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/**
|
/**
|
||||||
This file is for threaded code.
|
This file is for threaded code.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
UNIFIED_insn_name_1,
|
UNIFIED_insn_name_1,
|
||||||
UNIFIED_insn_name_2, ...};
|
UNIFIED_insn_name_2, ...};
|
||||||
...
|
...
|
||||||
|
|
||||||
static const int *const *const unified_insns_data[] = {
|
static const int *const *const unified_insns_data[] = {
|
||||||
UNIFIED_insn_nameA,
|
UNIFIED_insn_nameA,
|
||||||
UNIFIED_insn_nameB, ...};
|
UNIFIED_insn_nameB, ...};
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/**
|
/**
|
||||||
This file is VM main loop.
|
This file is VM main loop.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/**
|
/**
|
||||||
This file is for threaded code.
|
This file is for threaded code.
|
||||||
|
|
||||||
----
|
----
|
||||||
This file is auto generated by insns2vm.rb
|
This file is auto generated by insns2vm.rb
|
||||||
DO NOT TOUCH!
|
DO NOT TOUCH!
|
||||||
|
|
|
@ -7,7 +7,7 @@ class VM
|
||||||
InsnID2NO = {
|
InsnID2NO = {
|
||||||
<%= insn_id2no %>
|
<%= insn_id2no %>
|
||||||
}
|
}
|
||||||
|
|
||||||
def self.id2insn_no id
|
def self.id2insn_no id
|
||||||
if InsnID2NO.has_key? id
|
if InsnID2NO.has_key? id
|
||||||
InsnID2NO[id]
|
InsnID2NO[id]
|
||||||
|
|
Loading…
Add table
Reference in a new issue