cybrid_api_organization_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_organization_ruby.gemspec +1 -1
- data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/version.rb +2 -2
- data/lib/cybrid_api_organization_ruby.rb +1 -1
- data/spec/api/organizations_organization_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/error_response_organization_model_spec.rb +1 -1
- data/spec/models/organization_organization_model_spec.rb +1 -1
- data/spec/models/patch_organization_organization_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.1 → racc-1.7.2}/gem_make.out +18 -20
- 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/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
|
@@ -17,32 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
$ gem install racc
|
|
19
19
|
|
|
20
|
-
setup.rb install:
|
|
21
|
-
|
|
22
|
-
Type this in the top directory of the extracted archive:
|
|
23
|
-
|
|
24
|
-
$ ruby setup.rb config
|
|
25
|
-
$ ruby setup.rb setup
|
|
26
|
-
($ su)
|
|
27
|
-
# ruby setup.rb install
|
|
28
|
-
|
|
29
|
-
You can install Racc into your favorite directory by giving
|
|
30
|
-
options to setup.rb. e.g.
|
|
31
|
-
|
|
32
|
-
$ ruby setup.rb config --prefix=/usr
|
|
33
|
-
|
|
34
|
-
For details, try "ruby setup.rb --help".
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
If you don't have C Compiler
|
|
38
|
-
----------------------------
|
|
39
|
-
|
|
40
|
-
You can install Racc without C compilers. Type following
|
|
41
|
-
command in config phase.
|
|
42
|
-
|
|
43
|
-
$ ruby setup.rb config --without-ext
|
|
44
|
-
|
|
45
|
-
|
|
46
20
|
== Testing Racc
|
|
47
21
|
|
|
48
22
|
Racc comes with simple calculator. To compile this, on shell:
|
|
@@ -57,6 +31,13 @@
|
|
|
57
31
|
For details of Racc, see HTML documents placed under 'doc/en/'
|
|
58
32
|
and sample grammar files under 'sample/'.
|
|
59
33
|
|
|
34
|
+
== Release flow
|
|
35
|
+
|
|
36
|
+
* Update VERSION number of these files
|
|
37
|
+
* <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
|
|
38
|
+
* <code>VERSION</code> in "lib/racc/info.rb"
|
|
39
|
+
* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
|
|
40
|
+
* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
|
|
60
41
|
|
|
61
42
|
== License
|
|
62
43
|
|
|
@@ -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_organization_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
|
|
@@ -107,7 +107,7 @@ files:
|
|
|
107
107
|
- vendor/bundle/ruby/3.2.0/cache/pry-0.14.2.gem
|
|
108
108
|
- vendor/bundle/ruby/3.2.0/cache/pry-byebug-3.10.1.gem
|
|
109
109
|
- vendor/bundle/ruby/3.2.0/cache/psych-5.1.1.1.gem
|
|
110
|
-
- vendor/bundle/ruby/3.2.0/cache/racc-1.7.
|
|
110
|
+
- vendor/bundle/ruby/3.2.0/cache/racc-1.7.2.gem
|
|
111
111
|
- vendor/bundle/ruby/3.2.0/cache/rainbow-3.1.1.gem
|
|
112
112
|
- vendor/bundle/ruby/3.2.0/cache/rake-13.0.6.gem
|
|
113
113
|
- vendor/bundle/ruby/3.2.0/cache/rspec-3.12.0.gem
|
|
@@ -134,10 +134,9 @@ files:
|
|
|
134
134
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/gem_make.out
|
|
135
135
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/mkmf.log
|
|
136
136
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/psych.so
|
|
137
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.
|
|
138
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.
|
|
139
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.
|
|
140
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1/racc/cparse.so
|
|
137
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/gem.build_complete
|
|
138
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/gem_make.out
|
|
139
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.2/racc/cparse.so
|
|
141
140
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/gem.build_complete
|
|
142
141
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/gem_make.out
|
|
143
142
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/stringio.so
|
|
@@ -1470,43 +1469,40 @@ files:
|
|
|
1470
1469
|
- vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych/visitors/visitor.rb
|
|
1471
1470
|
- vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych/visitors/yaml_tree.rb
|
|
1472
1471
|
- vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych/y.rb
|
|
1473
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1474
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1475
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1476
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1477
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1478
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1479
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1480
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1481
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1482
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1483
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1484
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1485
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1486
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1487
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1488
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1489
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1490
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1491
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1492
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1493
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1494
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1495
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1496
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1497
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1498
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1499
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1500
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1501
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1502
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1503
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1504
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1505
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1506
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.
|
|
1507
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/state.rb
|
|
1508
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/statetransitiontable.rb
|
|
1509
|
-
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.1/lib/racc/static.rb
|
|
1472
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/COPYING
|
|
1473
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ChangeLog
|
|
1474
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/README.ja.rdoc
|
|
1475
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/README.rdoc
|
|
1476
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/TODO
|
|
1477
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/bin/racc
|
|
1478
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/en/grammar.en.rdoc
|
|
1479
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/en/grammar2.en.rdoc
|
|
1480
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/command.ja.html
|
|
1481
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/debug.ja.rdoc
|
|
1482
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/grammar.ja.rdoc
|
|
1483
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/index.ja.html
|
|
1484
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/parser.ja.rdoc
|
|
1485
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/doc/ja/usage.ja.html
|
|
1486
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/Makefile
|
|
1487
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/cparse.c
|
|
1488
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/ext/racc/cparse/extconf.rb
|
|
1489
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc.rb
|
|
1490
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/compat.rb
|
|
1491
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/cparse.so
|
|
1492
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/debugflags.rb
|
|
1493
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/exception.rb
|
|
1494
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/grammar.rb
|
|
1495
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/grammarfileparser.rb
|
|
1496
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/info.rb
|
|
1497
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/iset.rb
|
|
1498
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/logfilegenerator.rb
|
|
1499
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/parser-text.rb
|
|
1500
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/parser.rb
|
|
1501
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/parserfilegenerator.rb
|
|
1502
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/sourcetext.rb
|
|
1503
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/state.rb
|
|
1504
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/statetransitiontable.rb
|
|
1505
|
+
- vendor/bundle/ruby/3.2.0/gems/racc-1.7.2/lib/racc/static.rb
|
|
1510
1506
|
- vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/Changelog.md
|
|
1511
1507
|
- vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/LICENSE
|
|
1512
1508
|
- vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/README.markdown
|
|
@@ -2600,7 +2596,7 @@ files:
|
|
|
2600
2596
|
- vendor/bundle/ruby/3.2.0/specifications/pry-0.14.2.gemspec
|
|
2601
2597
|
- vendor/bundle/ruby/3.2.0/specifications/pry-byebug-3.10.1.gemspec
|
|
2602
2598
|
- vendor/bundle/ruby/3.2.0/specifications/psych-5.1.1.1.gemspec
|
|
2603
|
-
- vendor/bundle/ruby/3.2.0/specifications/racc-1.7.
|
|
2599
|
+
- vendor/bundle/ruby/3.2.0/specifications/racc-1.7.2.gemspec
|
|
2604
2600
|
- vendor/bundle/ruby/3.2.0/specifications/rainbow-3.1.1.gemspec
|
|
2605
2601
|
- vendor/bundle/ruby/3.2.0/specifications/rake-13.0.6.gemspec
|
|
2606
2602
|
- vendor/bundle/ruby/3.2.0/specifications/rspec-3.12.0.gemspec
|
|
Binary file
|
|
@@ -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
|
-
|