зеркало из https://github.com/github/ruby.git
* 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:
Родитель
b2e82f2dfb
Коммит
001d393019
2
id.h
2
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
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
2
regenc.h
2
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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/* DO NOT EDIT THIS FILE DIRECTLY */
|
||||
/**********************************************************************
|
||||
|
||||
id.h -
|
||||
id.h -
|
||||
|
||||
$Author$
|
||||
created at: Sun Oct 19 21:12:51 2008
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/** -*-c-*-
|
||||
This file contains YARV instructions list.
|
||||
|
||||
|
||||
----
|
||||
This file is auto generated by insns2vm.rb
|
||||
DO NOT TOUCH!
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/*******************************************************************/
|
||||
/**
|
||||
This file is for threaded code.
|
||||
|
||||
|
||||
----
|
||||
This file is auto generated by insns2vm.rb
|
||||
DO NOT TOUCH!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/*******************************************************************/
|
||||
/**
|
||||
This file is for threaded code.
|
||||
|
||||
|
||||
----
|
||||
This file is auto generated by insns2vm.rb
|
||||
DO NOT TOUCH!
|
||||
|
|
|
@ -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, ...};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/*******************************************************************/
|
||||
/**
|
||||
This file is VM main loop.
|
||||
|
||||
|
||||
----
|
||||
This file is auto generated by insns2vm.rb
|
||||
DO NOT TOUCH!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/*******************************************************************/
|
||||
/**
|
||||
This file is for threaded code.
|
||||
|
||||
|
||||
----
|
||||
This file is auto generated by insns2vm.rb
|
||||
DO NOT TOUCH!
|
||||
|
|
|
@ -7,7 +7,7 @@ class VM
|
|||
InsnID2NO = {
|
||||
<%= insn_id2no %>
|
||||
}
|
||||
|
||||
|
||||
def self.id2insn_no id
|
||||
if InsnID2NO.has_key? id
|
||||
InsnID2NO[id]
|
||||
|
|
Загрузка…
Ссылка в новой задаче