cybrid_api_id_ruby 0.109.30 → 0.109.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/cybrid_api_id_ruby.gemspec +1 -1
- data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +1 -1
- data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +1 -1
- data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +1 -1
- data/lib/cybrid_api_id_ruby/api/users_idp_api.rb +1 -1
- data/lib/cybrid_api_id_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_id_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_id_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/error_response_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/post_user_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/user_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/models/user_list_idp_model.rb +1 -1
- data/lib/cybrid_api_id_ruby/version.rb +2 -2
- data/lib/cybrid_api_id_ruby.rb +1 -1
- data/spec/api/bank_applications_idp_api_spec.rb +1 -1
- data/spec/api/customer_tokens_idp_api_spec.rb +1 -1
- data/spec/api/organization_applications_idp_api_spec.rb +1 -1
- data/spec/api/users_idp_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/application_idp_model_spec.rb +1 -1
- data/spec/models/application_list_idp_model_spec.rb +1 -1
- data/spec/models/application_with_secret_all_of_idp_model_spec.rb +1 -1
- data/spec/models/application_with_secret_idp_model_spec.rb +1 -1
- data/spec/models/customer_token_idp_model_spec.rb +1 -1
- data/spec/models/error_response_idp_model_spec.rb +1 -1
- data/spec/models/post_bank_application_idp_model_spec.rb +1 -1
- data/spec/models/post_customer_token_idp_model_spec.rb +1 -1
- data/spec/models/post_organization_application_idp_model_spec.rb +1 -1
- data/spec/models/post_user_idp_model_spec.rb +1 -1
- data/spec/models/user_idp_model_spec.rb +1 -1
- data/spec/models/user_list_idp_model_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/cache/racc-1.7.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/gem_make.out +26 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/README.ja.rdoc +0 -28
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/README.rdoc +7 -26
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/TODO +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/bin/racc +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/ja/command.ja.html +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/ja/grammar.ja.rdoc +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/ja/parser.ja.rdoc +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/ext/racc/cparse/Makefile +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/ext/racc/cparse/cparse.c +26 -47
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/extconf.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/info.rb +2 -1
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/parser-text.rb +4 -14
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/parser.rb +5 -3
- data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/parserfilegenerator.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{racc-1.7.1.gemspec → racc-1.7.2.gemspec} +3 -3
- metadata +41 -45
- data/vendor/bundle/ruby/3.2.0/cache/racc-1.7.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1/gem_make.out +0 -28
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1/mkmf.log +0 -57
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/doc/en/NEWS.en.rdoc +0 -282
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/doc/ja/NEWS.ja.rdoc +0 -307
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/MANIFEST +0 -4
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse/extconf.rb +0 -9
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/cparse.so +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{racc-1.7.1 → racc-1.7.2}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/ChangeLog +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/en/grammar.en.rdoc +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/en/grammar2.en.rdoc +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/ja/debug.ja.rdoc +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/ja/index.ja.html +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/doc/ja/usage.ja.html +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/compat.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/debugflags.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/exception.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/grammar.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/grammarfileparser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/iset.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/logfilegenerator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/sourcetext.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/state.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/statetransitiontable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/static.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc.rb +0 -0
|
@@ -19,6 +19,7 @@ def main
|
|
|
19
19
|
make_executable = false
|
|
20
20
|
rubypath = nil
|
|
21
21
|
embed_runtime = false
|
|
22
|
+
frozen_strings = false
|
|
22
23
|
debug_flags = Racc::DebugFlags.new
|
|
23
24
|
line_convert = true
|
|
24
25
|
line_convert_all = false
|
|
@@ -57,6 +58,9 @@ def main
|
|
|
57
58
|
parser.on('-E', '--embedded', "Embeds Racc runtime in output.") {
|
|
58
59
|
embed_runtime = true
|
|
59
60
|
}
|
|
61
|
+
parser.on('-F', '--frozen', "Add frozen_string_literals: true.") {
|
|
62
|
+
frozen_strings = true
|
|
63
|
+
}
|
|
60
64
|
parser.on('--line-convert-all', 'Converts line numbers of user codes.') {
|
|
61
65
|
line_convert_all = true
|
|
62
66
|
}
|
|
@@ -150,6 +154,7 @@ def main
|
|
|
150
154
|
|
|
151
155
|
$stderr.puts 'Creating parser file...' if verbose
|
|
152
156
|
params = result.params.dup
|
|
157
|
+
params.filename = File.basename(input)
|
|
153
158
|
# Overwrites parameters given by a grammar file with command line options.
|
|
154
159
|
params.superclass = superclass if superclass
|
|
155
160
|
params.omit_action_call = true if omit_action_call
|
|
@@ -162,6 +167,7 @@ def main
|
|
|
162
167
|
params.convert_line = line_convert
|
|
163
168
|
params.convert_line_all = line_convert_all
|
|
164
169
|
params.embed_runtime = embed_runtime
|
|
170
|
+
params.frozen_strings = frozen_strings
|
|
165
171
|
profiler.section('generation') {
|
|
166
172
|
generator = Racc::ParserFileGenerator.new(states, params)
|
|
167
173
|
generator.generate_parser_file(output || make_filename(input, '.tab.rb'))
|
|
@@ -6,6 +6,7 @@ racc [-o<var>filename</var>] [--output-file=<var>filename</var>]
|
|
|
6
6
|
[-O<var>filename</var>] [--log-file=<var>filename</var>]
|
|
7
7
|
[-g] [--debug]
|
|
8
8
|
[-E] [--embedded]
|
|
9
|
+
[-F] [--frozen]
|
|
9
10
|
[-l] [--no-line-convert]
|
|
10
11
|
[-c] [--line-convert-all]
|
|
11
12
|
[-a] [--no-omit-actions]
|
|
@@ -50,6 +51,10 @@ Ruby のパスを使用します。
|
|
|
50
51
|
ランタイムルーチンをすべて含んだコードを生成します。
|
|
51
52
|
つまり、このオプションをつけて生成したコードは Ruby さえあれば動きます。
|
|
52
53
|
</dd>
|
|
54
|
+
<dt>-F, --frozen
|
|
55
|
+
<dd>
|
|
56
|
+
Add frozen_string_literals: true.
|
|
57
|
+
</dd>
|
|
53
58
|
<dt>-C, --check-only
|
|
54
59
|
<dd>
|
|
55
60
|
(文法ファイルの) 文法のチェックだけをして終了します。
|
|
@@ -88,7 +88,7 @@ CCDLFLAGS = -fPIC
|
|
|
88
88
|
CFLAGS = $(CCDLFLAGS) $(cflags) -fPIC $(ARCH_FLAG)
|
|
89
89
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
|
90
90
|
DEFS =
|
|
91
|
-
CPPFLAGS = -
|
|
91
|
+
CPPFLAGS = -DRACC_INFO_VERSION=1.7.2 $(DEFS) $(cppflags)
|
|
92
92
|
CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
|
|
93
93
|
ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed
|
|
94
94
|
dldflags = -Wl,--compress-debug-sections=zlib
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
Important Constants
|
|
23
23
|
----------------------------------------------------------------------- */
|
|
24
24
|
|
|
25
|
-
#define RACC_VERSION
|
|
25
|
+
#define RACC_VERSION STRINGIZE(RACC_INFO_VERSION)
|
|
26
26
|
|
|
27
27
|
#define DEFAULT_TOKEN -1
|
|
28
28
|
#define ERROR_TOKEN 1
|
|
@@ -70,12 +70,8 @@ static ID id_d_e_pop;
|
|
|
70
70
|
# define LONG2NUM(i) INT2NUM(i)
|
|
71
71
|
#endif
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
#endif
|
|
76
|
-
|
|
77
|
-
static ID value_to_id _((VALUE v));
|
|
78
|
-
static inline long num_to_long _((VALUE n));
|
|
73
|
+
static ID value_to_id(VALUE v);
|
|
74
|
+
static inline long num_to_long(VALUE n);
|
|
79
75
|
|
|
80
76
|
static ID
|
|
81
77
|
value_to_id(VALUE v)
|
|
@@ -99,8 +95,8 @@ num_to_long(VALUE n)
|
|
|
99
95
|
Parser Stack Interfaces
|
|
100
96
|
----------------------------------------------------------------------- */
|
|
101
97
|
|
|
102
|
-
static VALUE get_stack_tail
|
|
103
|
-
static void cut_stack_tail
|
|
98
|
+
static VALUE get_stack_tail(VALUE stack, long len);
|
|
99
|
+
static void cut_stack_tail(VALUE stack, long len);
|
|
104
100
|
|
|
105
101
|
static VALUE
|
|
106
102
|
get_stack_tail(VALUE stack, long len)
|
|
@@ -189,27 +185,27 @@ struct cparse_params {
|
|
|
189
185
|
Parser Main Routines
|
|
190
186
|
----------------------------------------------------------------------- */
|
|
191
187
|
|
|
192
|
-
static VALUE racc_cparse
|
|
193
|
-
static VALUE racc_yyparse
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
static void call_lexer
|
|
197
|
-
static VALUE lexer_i
|
|
198
|
-
|
|
199
|
-
static VALUE assert_array
|
|
200
|
-
static long assert_integer
|
|
201
|
-
static VALUE assert_hash
|
|
202
|
-
static VALUE initialize_params
|
|
203
|
-
|
|
204
|
-
static void cparse_params_mark
|
|
205
|
-
static size_t cparse_params_memsize
|
|
206
|
-
|
|
207
|
-
static void parse_main
|
|
208
|
-
|
|
209
|
-
static void extract_user_token
|
|
210
|
-
|
|
211
|
-
static void shift
|
|
212
|
-
static int reduce
|
|
188
|
+
static VALUE racc_cparse(VALUE parser, VALUE arg, VALUE sysdebug);
|
|
189
|
+
static VALUE racc_yyparse(VALUE parser, VALUE lexer, VALUE lexmid,
|
|
190
|
+
VALUE arg, VALUE sysdebug);
|
|
191
|
+
|
|
192
|
+
static void call_lexer(struct cparse_params *v);
|
|
193
|
+
static VALUE lexer_i(RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data));
|
|
194
|
+
|
|
195
|
+
static VALUE assert_array(VALUE a);
|
|
196
|
+
static long assert_integer(VALUE n);
|
|
197
|
+
static VALUE assert_hash(VALUE h);
|
|
198
|
+
static VALUE initialize_params(VALUE vparams, VALUE parser, VALUE arg,
|
|
199
|
+
VALUE lexer, VALUE lexmid);
|
|
200
|
+
static void cparse_params_mark(void *ptr);
|
|
201
|
+
static size_t cparse_params_memsize(const void *ptr);
|
|
202
|
+
|
|
203
|
+
static void parse_main(struct cparse_params *v,
|
|
204
|
+
VALUE tok, VALUE val, int resume);
|
|
205
|
+
static void extract_user_token(struct cparse_params *v,
|
|
206
|
+
VALUE block_args, VALUE *tok, VALUE *val);
|
|
207
|
+
static void shift(struct cparse_params* v, long act, VALUE tok, VALUE val);
|
|
208
|
+
static int reduce(struct cparse_params* v, long act);
|
|
213
209
|
static rb_block_call_func reduce0;
|
|
214
210
|
|
|
215
211
|
#ifdef DEBUG
|
|
@@ -278,28 +274,11 @@ racc_yyparse(VALUE parser, VALUE lexer, VALUE lexmid, VALUE arg, VALUE sysdebug)
|
|
|
278
274
|
return v->retval;
|
|
279
275
|
}
|
|
280
276
|
|
|
281
|
-
#ifdef HAVE_RB_BLOCK_CALL
|
|
282
277
|
static void
|
|
283
278
|
call_lexer(struct cparse_params *v)
|
|
284
279
|
{
|
|
285
280
|
rb_block_call(v->lexer, v->lexmid, 0, NULL, lexer_i, v->value_v);
|
|
286
281
|
}
|
|
287
|
-
#else
|
|
288
|
-
static VALUE
|
|
289
|
-
lexer_iter(VALUE data)
|
|
290
|
-
{
|
|
291
|
-
struct cparse_params *v = rb_check_typeddata(data, &cparse_params_type);
|
|
292
|
-
|
|
293
|
-
rb_funcall(v->lexer, v->lexmid, 0);
|
|
294
|
-
return Qnil;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
static void
|
|
298
|
-
call_lexer(struct cparse_params *v)
|
|
299
|
-
{
|
|
300
|
-
rb_iterate(lexer_iter, v->value_v, lexer_i, v->value_v);
|
|
301
|
-
}
|
|
302
|
-
#endif
|
|
303
282
|
|
|
304
283
|
static VALUE
|
|
305
284
|
lexer_i(RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data))
|
|
Binary file
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
module Racc
|
|
2
2
|
PARSER_TEXT = <<'__end_of_file__'
|
|
3
|
-
# frozen_string_literal: false
|
|
4
3
|
#--
|
|
5
4
|
# Copyright (c) 1999-2006 Minero Aoki
|
|
6
5
|
#
|
|
@@ -14,17 +13,6 @@ module Racc
|
|
|
14
13
|
|
|
15
14
|
unless $".find {|p| p.end_with?('/racc/info.rb')}
|
|
16
15
|
$".push "#{__dir__}/racc/info.rb"
|
|
17
|
-
#--
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
# Copyright (c) 1999-2006 Minero Aoki
|
|
22
|
-
#
|
|
23
|
-
# This program is free software.
|
|
24
|
-
# You can distribute/modify this program under the same terms of ruby.
|
|
25
|
-
# see the file "COPYING".
|
|
26
|
-
#
|
|
27
|
-
#++
|
|
28
16
|
|
|
29
17
|
module Racc
|
|
30
18
|
VERSION = '1.7.1'
|
|
@@ -76,10 +64,12 @@ end
|
|
|
76
64
|
# [-v, --verbose]
|
|
77
65
|
# verbose mode. create +filename+.output file, like yacc's y.output file.
|
|
78
66
|
# [-g, --debug]
|
|
79
|
-
# add debug code to parser class. To display
|
|
67
|
+
# add debug code to parser class. To display debugging information,
|
|
80
68
|
# use this '-g' option and set @yydebug true in parser class.
|
|
81
69
|
# [-E, --embedded]
|
|
82
70
|
# Output parser which doesn't need runtime files (racc/parser.rb).
|
|
71
|
+
# [-F, --frozen]
|
|
72
|
+
# Output parser which declares frozen_string_literals: true
|
|
83
73
|
# [-C, --check-only]
|
|
84
74
|
# Check syntax of racc grammar file and quit.
|
|
85
75
|
# [-S, --output-status]
|
|
@@ -558,7 +548,7 @@ module Racc
|
|
|
558
548
|
#
|
|
559
549
|
# If this method returns, parsers enter "error recovering mode".
|
|
560
550
|
def on_error(t, val, vstack)
|
|
561
|
-
raise ParseError, sprintf("
|
|
551
|
+
raise ParseError, sprintf("parse error on value %s (%s)",
|
|
562
552
|
val.inspect, token_to_str(t) || '?')
|
|
563
553
|
end
|
|
564
554
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# frozen_string_literal:
|
|
1
|
+
# frozen_string_literal: true
|
|
2
2
|
#--
|
|
3
3
|
# Copyright (c) 1999-2006 Minero Aoki
|
|
4
4
|
#
|
|
@@ -53,10 +53,12 @@ end
|
|
|
53
53
|
# [-v, --verbose]
|
|
54
54
|
# verbose mode. create +filename+.output file, like yacc's y.output file.
|
|
55
55
|
# [-g, --debug]
|
|
56
|
-
# add debug code to parser class. To display
|
|
56
|
+
# add debug code to parser class. To display debugging information,
|
|
57
57
|
# use this '-g' option and set @yydebug true in parser class.
|
|
58
58
|
# [-E, --embedded]
|
|
59
59
|
# Output parser which doesn't need runtime files (racc/parser.rb).
|
|
60
|
+
# [-F, --frozen]
|
|
61
|
+
# Output parser which declares frozen_string_literals: true
|
|
60
62
|
# [-C, --check-only]
|
|
61
63
|
# Check syntax of racc grammar file and quit.
|
|
62
64
|
# [-S, --output-status]
|
|
@@ -535,7 +537,7 @@ module Racc
|
|
|
535
537
|
#
|
|
536
538
|
# If this method returns, parsers enter "error recovering mode".
|
|
537
539
|
def on_error(t, val, vstack)
|
|
538
|
-
raise ParseError, sprintf("
|
|
540
|
+
raise ParseError, sprintf("parse error on value %s (%s)",
|
|
539
541
|
val.inspect, token_to_str(t) || '?')
|
|
540
542
|
end
|
|
541
543
|
|
data/vendor/bundle/ruby/3.2.0/gems/{racc-1.7.1 → racc-1.7.2}/lib/racc/parserfilegenerator.rb
RENAMED
|
@@ -45,6 +45,7 @@ module Racc
|
|
|
45
45
|
bool_attr :convert_line
|
|
46
46
|
bool_attr :convert_line_all
|
|
47
47
|
bool_attr :embed_runtime
|
|
48
|
+
bool_attr :frozen_strings
|
|
48
49
|
bool_attr :make_executable
|
|
49
50
|
attr_accessor :interpreter
|
|
50
51
|
|
|
@@ -64,6 +65,7 @@ module Racc
|
|
|
64
65
|
self.convert_line = true
|
|
65
66
|
self.convert_line_all = false
|
|
66
67
|
self.embed_runtime = false
|
|
68
|
+
self.frozen_strings = false
|
|
67
69
|
self.make_executable = false
|
|
68
70
|
self.interpreter = nil
|
|
69
71
|
end
|
|
@@ -122,6 +124,7 @@ module Racc
|
|
|
122
124
|
end
|
|
123
125
|
|
|
124
126
|
def notice
|
|
127
|
+
line %q[# frozen_string_literal: true] if @params.frozen_strings?
|
|
125
128
|
line %q[#]
|
|
126
129
|
line %q[# DO NOT MODIFY!!!!]
|
|
127
130
|
line %Q[# This file is automatically generated by Racc #{Racc::Version}]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: racc 1.7.
|
|
2
|
+
# stub: racc 1.7.2 ruby lib
|
|
3
3
|
# stub: ext/racc/cparse/extconf.rb
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "racc".freeze
|
|
7
|
-
s.version = "1.7.
|
|
7
|
+
s.version = "1.7.2"
|
|
8
8
|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["Minero Aoki".freeze, "Aaron Patterson".freeze]
|
|
12
|
-
s.date = "2023-
|
|
12
|
+
s.date = "2023-11-01"
|
|
13
13
|
s.description = "Racc is a LALR(1) parser generator.\n It is written in Ruby itself, and generates Ruby program.\n\n NOTE: Ruby 1.8.x comes with Racc runtime module. You\n can run your parsers generated by racc 1.4.x out of the\n box.\n".freeze
|
|
14
14
|
s.email = [nil, "aaron@tenderlovemaking.com".freeze]
|
|
15
15
|
s.executables = ["racc".freeze]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cybrid_api_id_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.109.
|
|
4
|
+
version: 0.109.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cybrid
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -143,7 +143,7 @@ files:
|
|
|
143
143
|
- vendor/bundle/ruby/3.2.0/cache/pry-0.14.2.gem
|
|
144
144
|
- vendor/bundle/ruby/3.2.0/cache/pry-byebug-3.10.1.gem
|
|
145
145
|
- vendor/bundle/ruby/3.2.0/cache/psych-5.1.1.1.gem
|
|
146
|
-
- vendor/bundle/ruby/3.2.0/cache/racc-1.7.
|
|
146
|
+
- vendor/bundle/ruby/3.2.0/cache/racc-1.7.2.gem
|
|
147
147
|
- vendor/bundle/ruby/3.2.0/cache/rainbow-3.1.1.gem
|
|
148
148
|
- vendor/bundle/ruby/3.2.0/cache/rake-13.0.6.gem
|
|
149
149
|
- vendor/bundle/ruby/3.2.0/cache/rspec-3.12.0.gem
|
|
@@ -170,10 +170,9 @@ files:
|
|
|
170
170
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/gem_make.out
|
|
171
171
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/mkmf.log
|
|
172
172
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/psych.so
|
|
173
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.
|
|
174
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.
|
|
175
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.
|
|
176
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1/racc/cparse.so
|
|
173
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/gem.build_complete
|
|
174
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/gem_make.out
|
|
175
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/racc/cparse.so
|
|
177
176
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/gem.build_complete
|
|
178
177
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/gem_make.out
|
|
179
178
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/stringio.so
|
|
@@ -1506,43 +1505,40 @@ files:
|
|
|
1506
1505
|
- vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych/visitors/visitor.rb
|
|
1507
1506
|
- vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych/visitors/yaml_tree.rb
|
|
1508
1507
|
- vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych/y.rb
|
|
1509
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1510
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1511
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1512
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1513
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1514
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1515
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1516
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1517
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1518
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1519
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1520
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1521
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1522
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1523
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1524
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1525
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1526
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1527
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1528
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1529
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1530
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1531
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1532
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1533
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1534
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1535
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1536
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1537
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1538
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1539
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1540
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1541
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1542
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1543
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/state.rb
|
|
1544
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/statetransitiontable.rb
|
|
1545
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/static.rb
|
|
1508
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/COPYING
|
|
1509
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ChangeLog
|
|
1510
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/README.ja.rdoc
|
|
1511
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/README.rdoc
|
|
1512
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/TODO
|
|
1513
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/bin/racc
|
|
1514
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/en/grammar.en.rdoc
|
|
1515
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/en/grammar2.en.rdoc
|
|
1516
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/command.ja.html
|
|
1517
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/debug.ja.rdoc
|
|
1518
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/grammar.ja.rdoc
|
|
1519
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/index.ja.html
|
|
1520
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/parser.ja.rdoc
|
|
1521
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/usage.ja.html
|
|
1522
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/Makefile
|
|
1523
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/cparse.c
|
|
1524
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/extconf.rb
|
|
1525
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc.rb
|
|
1526
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/compat.rb
|
|
1527
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/cparse.so
|
|
1528
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/debugflags.rb
|
|
1529
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/exception.rb
|
|
1530
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/grammar.rb
|
|
1531
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/grammarfileparser.rb
|
|
1532
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/info.rb
|
|
1533
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/iset.rb
|
|
1534
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/logfilegenerator.rb
|
|
1535
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/parser-text.rb
|
|
1536
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/parser.rb
|
|
1537
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/parserfilegenerator.rb
|
|
1538
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/sourcetext.rb
|
|
1539
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/state.rb
|
|
1540
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/statetransitiontable.rb
|
|
1541
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/static.rb
|
|
1546
1542
|
- vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/Changelog.md
|
|
1547
1543
|
- vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/LICENSE
|
|
1548
1544
|
- vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/README.markdown
|
|
@@ -2636,7 +2632,7 @@ files:
|
|
|
2636
2632
|
- vendor/bundle/ruby/3.2.0/specifications/pry-0.14.2.gemspec
|
|
2637
2633
|
- vendor/bundle/ruby/3.2.0/specifications/pry-byebug-3.10.1.gemspec
|
|
2638
2634
|
- vendor/bundle/ruby/3.2.0/specifications/psych-5.1.1.1.gemspec
|
|
2639
|
-
- vendor/bundle/ruby/3.2.0/specifications/racc-1.7.
|
|
2635
|
+
- vendor/bundle/ruby/3.2.0/specifications/racc-1.7.2.gemspec
|
|
2640
2636
|
- vendor/bundle/ruby/3.2.0/specifications/rainbow-3.1.1.gemspec
|
|
2641
2637
|
- vendor/bundle/ruby/3.2.0/specifications/rake-13.0.6.gemspec
|
|
2642
2638
|
- vendor/bundle/ruby/3.2.0/specifications/rspec-3.12.0.gemspec
|
|
Binary file
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
current directory: /home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse
|
|
2
|
-
/usr/local/bin/ruby extconf.rb
|
|
3
|
-
checking for rb_block_call()... yes
|
|
4
|
-
checking for rb_ary_subseq()... yes
|
|
5
|
-
creating Makefile
|
|
6
|
-
|
|
7
|
-
current directory: /home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse
|
|
8
|
-
make DESTDIR\= sitearchdir\=./.gem.20231031-3582-jonxq3 sitelibdir\=./.gem.20231031-3582-jonxq3 clean
|
|
9
|
-
make[1]: Entering directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
10
|
-
make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
11
|
-
|
|
12
|
-
current directory: /home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse
|
|
13
|
-
make DESTDIR\= sitearchdir\=./.gem.20231031-3582-jonxq3 sitelibdir\=./.gem.20231031-3582-jonxq3
|
|
14
|
-
make[1]: Entering directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
15
|
-
compiling cparse.c
|
|
16
|
-
linking shared-object racc/cparse.so
|
|
17
|
-
make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
18
|
-
|
|
19
|
-
current directory: /home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse
|
|
20
|
-
make DESTDIR\= sitearchdir\=./.gem.20231031-3582-jonxq3 sitelibdir\=./.gem.20231031-3582-jonxq3 install
|
|
21
|
-
make[1]: Entering directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
22
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.20231031-3582-jonxq3/racc
|
|
23
|
-
make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
24
|
-
|
|
25
|
-
current directory: /home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse
|
|
26
|
-
make DESTDIR\= sitearchdir\=./.gem.20231031-3582-jonxq3 sitelibdir\=./.gem.20231031-3582-jonxq3 clean
|
|
27
|
-
make[1]: Entering directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
28
|
-
make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-idp/ruby/vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/ext/racc/cparse'
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
have_func: checking for rb_block_call()... -------------------- yes
|
|
2
|
-
|
|
3
|
-
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lpthread -lc"
|
|
4
|
-
checked program was:
|
|
5
|
-
/* begin */
|
|
6
|
-
1: #include "ruby.h"
|
|
7
|
-
2:
|
|
8
|
-
3: int main(int argc, char **argv)
|
|
9
|
-
4: {
|
|
10
|
-
5: return !!argv[argc];
|
|
11
|
-
6: }
|
|
12
|
-
/* end */
|
|
13
|
-
|
|
14
|
-
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lpthread -lc"
|
|
15
|
-
checked program was:
|
|
16
|
-
/* begin */
|
|
17
|
-
1: #include "ruby.h"
|
|
18
|
-
2:
|
|
19
|
-
3: /*top*/
|
|
20
|
-
4: extern int t(void);
|
|
21
|
-
5: int main(int argc, char **argv)
|
|
22
|
-
6: {
|
|
23
|
-
7: if (argc > 1000000) {
|
|
24
|
-
8: int (* volatile tp)(void)=(int (*)(void))&t;
|
|
25
|
-
9: printf("%d", (*tp)());
|
|
26
|
-
10: }
|
|
27
|
-
11:
|
|
28
|
-
12: return !!argv[argc];
|
|
29
|
-
13: }
|
|
30
|
-
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_block_call; return !p; }
|
|
31
|
-
/* end */
|
|
32
|
-
|
|
33
|
-
--------------------
|
|
34
|
-
|
|
35
|
-
have_func: checking for rb_ary_subseq()... -------------------- yes
|
|
36
|
-
|
|
37
|
-
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lpthread -lc"
|
|
38
|
-
checked program was:
|
|
39
|
-
/* begin */
|
|
40
|
-
1: #include "ruby.h"
|
|
41
|
-
2:
|
|
42
|
-
3: /*top*/
|
|
43
|
-
4: extern int t(void);
|
|
44
|
-
5: int main(int argc, char **argv)
|
|
45
|
-
6: {
|
|
46
|
-
7: if (argc > 1000000) {
|
|
47
|
-
8: int (* volatile tp)(void)=(int (*)(void))&t;
|
|
48
|
-
9: printf("%d", (*tp)());
|
|
49
|
-
10: }
|
|
50
|
-
11:
|
|
51
|
-
12: return !!argv[argc];
|
|
52
|
-
13: }
|
|
53
|
-
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_ary_subseq; return !p; }
|
|
54
|
-
/* end */
|
|
55
|
-
|
|
56
|
-
--------------------
|
|
57
|
-
|