diff options
author | Masataka Pocke Kuwabara <[email protected]> | 2021-09-13 19:00:53 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-01-12 07:52:25 +0900 |
commit | 11e15b4d481608b3d494af4cf7e5eb67a4dd0d7c (patch) | |
tree | 628a2c4e329593aff021364673a40739b8f609d3 /test/racc | |
parent | 7e283c585e88a08c6eaa4d28ffb646270b598e6d (diff) |
[ruby/racc] Make racc Ractor compatible
https://github.com/ruby/racc/commit/1948de9d1d
Diffstat (limited to 'test/racc')
-rw-r--r-- | test/racc/regress/cadenza | 4 | ||||
-rw-r--r-- | test/racc/regress/cast | 2 | ||||
-rw-r--r-- | test/racc/regress/csspool | 4 | ||||
-rw-r--r-- | test/racc/regress/edtf | 4 | ||||
-rw-r--r-- | test/racc/regress/huia | 2 | ||||
-rw-r--r-- | test/racc/regress/journey | 4 | ||||
-rw-r--r-- | test/racc/regress/liquor | 4 | ||||
-rw-r--r-- | test/racc/regress/machete | 4 | ||||
-rw-r--r-- | test/racc/regress/mediacloth | 4 | ||||
-rw-r--r-- | test/racc/regress/mof | 4 | ||||
-rw-r--r-- | test/racc/regress/namae | 4 | ||||
-rw-r--r-- | test/racc/regress/nasl | 2 | ||||
-rw-r--r-- | test/racc/regress/nokogiri-css | 4 | ||||
-rw-r--r-- | test/racc/regress/opal | 2 | ||||
-rw-r--r-- | test/racc/regress/php_serialization | 4 | ||||
-rw-r--r-- | test/racc/regress/riml | 2 | ||||
-rw-r--r-- | test/racc/regress/ruby18 | 2 | ||||
-rw-r--r-- | test/racc/regress/ruby22 | 2 | ||||
-rw-r--r-- | test/racc/regress/tp_plus | 4 | ||||
-rw-r--r-- | test/racc/regress/twowaysql | 4 |
20 files changed, 53 insertions, 13 deletions
diff --git a/test/racc/regress/cadenza b/test/racc/regress/cadenza index dafce3c9f3..ab8b5c7f59 100644 --- a/test/racc/regress/cadenza +++ b/test/racc/regress/cadenza @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -286,6 +286,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -358,6 +359,7 @@ Racc_token_to_s_table = [ "generic_block", "extends_statement", "document_component" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/cast b/test/racc/regress/cast index 60e92a0abd..9fd5f2da70 100644 --- a/test/racc/regress/cast +++ b/test/racc/regress/cast @@ -1896,6 +1896,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -2064,6 +2065,7 @@ Racc_token_to_s_table = [ "logical_or_expression", "conditional_expression", "assignment_operator" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/csspool b/test/racc/regress/csspool index a3d14a9b34..caf6cb3eb1 100644 --- a/test/racc/regress/csspool +++ b/test/racc/regress/csspool @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -705,6 +705,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -853,6 +854,7 @@ Racc_token_to_s_table = [ "calc_product", "calc_value", "unary_operator" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/edtf b/test/racc/regress/edtf index 5947931260..2b2cfd5892 100644 --- a/test/racc/regress/edtf +++ b/test/racc/regress/edtf @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -699,6 +699,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -806,6 +807,7 @@ Racc_token_to_s_table = [ "d01_23", "d01_29", "d01_30" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/huia b/test/racc/regress/huia index cac22873df..121cbe1d5b 100644 --- a/test/racc/regress/huia +++ b/test/racc/regress/huia @@ -894,6 +894,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -1028,6 +1029,7 @@ Racc_token_to_s_table = [ "interpolation", "interpolated_string_chunk", "chars" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/journey b/test/racc/regress/journey index 3daf81dac0..4cc0dcd6aa 100644 --- a/test/racc/regress/journey +++ b/test/racc/regress/journey @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -105,6 +105,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -128,6 +129,7 @@ Racc_token_to_s_table = [ "literal", "slash", "dot" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/liquor b/test/racc/regress/liquor index 9fa2ca4da0..dec215fdf4 100644 --- a/test/racc/regress/liquor +++ b/test/racc/regress/liquor @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -424,6 +424,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -481,6 +482,7 @@ Racc_token_to_s_table = [ "tag_next_cont", "tag_next_cont2", "tag_next_cont3" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/machete b/test/racc/regress/machete index 6297fe2ac9..2659a3ec9e 100644 --- a/test/racc/regress/machete +++ b/test/racc/regress/machete @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -446,6 +446,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -492,6 +493,7 @@ Racc_token_to_s_table = [ "items", "item", "quantifier" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/mediacloth b/test/racc/regress/mediacloth index cca7d3c7e4..2d9958f931 100644 --- a/test/racc/regress/mediacloth +++ b/test/racc/regress/mediacloth @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -581,6 +581,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -671,6 +672,7 @@ Racc_token_to_s_table = [ "dictionary_contents", "dictionary_definition", "template_parameters" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/mof b/test/racc/regress/mof index d702292e51..afbf8cf2b9 100644 --- a/test/racc/regress/mof +++ b/test/racc/regress/mof @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -545,6 +545,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -690,6 +691,7 @@ Racc_token_to_s_table = [ "flavors", "valueInitializers", "valueInitializer" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/namae b/test/racc/regress/namae index 5a795e4579..289abc5f9d 100644 --- a/test/racc/regress/namae +++ b/test/racc/regress/namae @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -345,6 +345,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -377,6 +378,7 @@ Racc_token_to_s_table = [ "suffices", "u_word", "titles" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/nasl b/test/racc/regress/nasl index 52a329d20a..4be095fda3 100644 --- a/test/racc/regress/nasl +++ b/test/racc/regress/nasl @@ -1368,6 +1368,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -1505,6 +1506,7 @@ Racc_token_to_s_table = [ "list_elems", "param", "var_decl" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/nokogiri-css b/test/racc/regress/nokogiri-css index bc2faf8702..713a75fb46 100644 --- a/test/racc/regress/nokogiri-css +++ b/test/racc/regress/nokogiri-css @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -248,6 +248,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -305,6 +306,7 @@ Racc_token_to_s_table = [ "negation", "eql_incl_dash", "negation_arg" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/opal b/test/racc/regress/opal index 53420a8f0e..0f3ed22535 100644 --- a/test/racc/regress/opal +++ b/test/racc/regress/opal @@ -6523,6 +6523,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -6822,6 +6823,7 @@ Racc_token_to_s_table = [ "restarg_mark", "blkarg_mark", "assoc" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/php_serialization b/test/racc/regress/php_serialization index e412db1cc8..b55d75a371 100644 --- a/test/racc/regress/php_serialization +++ b/test/racc/regress/php_serialization @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -144,6 +144,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -172,6 +173,7 @@ Racc_token_to_s_table = [ "object", "attribute_list", "attribute" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/riml b/test/racc/regress/riml index 5882a431cf..ce24c1c77f 100644 --- a/test/racc/regress/riml +++ b/test/racc/regress/riml @@ -2037,6 +2037,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -2216,6 +2217,7 @@ Racc_token_to_s_table = [ "Catchable", "ElseBlock", "ElseifBlock" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/ruby18 b/test/racc/regress/ruby18 index 9e9c55d564..669ab2449d 100644 --- a/test/racc/regress/ruby18 +++ b/test/racc/regress/ruby18 @@ -6294,6 +6294,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -6560,6 +6561,7 @@ Racc_token_to_s_table = [ "restarg_mark", "blkarg_mark", "assoc" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/ruby22 b/test/racc/regress/ruby22 index 4731071275..9eec38fd28 100644 --- a/test/racc/regress/ruby22 +++ b/test/racc/regress/ruby22 @@ -6733,6 +6733,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -7059,6 +7060,7 @@ Racc_token_to_s_table = [ "restarg_mark", "blkarg_mark", "assoc" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/tp_plus b/test/racc/regress/tp_plus index 34b6284db7..e57f316343 100644 --- a/test/racc/regress/tp_plus +++ b/test/racc/regress/tp_plus @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -691,6 +691,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -873,6 +874,7 @@ Racc_token_to_s_table = [ "optional_sign", "array_values", "array_value" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false diff --git a/test/racc/regress/twowaysql b/test/racc/regress/twowaysql index 219f1a8b04..9bdd77237d 100644 --- a/test/racc/regress/twowaysql +++ b/test/racc/regress/twowaysql @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.5.0 +# This file is automatically generated by Racc 1.5.2 # from Racc grammar file "". # @@ -282,6 +282,7 @@ Racc_arg = [ racc_shift_n, racc_reduce_n, racc_use_result_var ] +Ractor.make_shareable(Racc_arg) if defined?(Ractor) Racc_token_to_s_table = [ "$end", @@ -316,6 +317,7 @@ Racc_token_to_s_table = [ "or_stmt", "bind_var", "embed_var" ] +Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor) Racc_debug_parser = false |