ridl 2.8.2 → 2.10.0

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.
data/lib/ridl/parser.diff DELETED
@@ -1,42 +0,0 @@
1
- diff --git a/lib/ridl/parser.rb b/lib/ridl/parser.rb
2
- index 0cc4f7f..a1a44ec 100644
3
- --- a/lib/ridl/parser.rb
4
- +++ b/lib/ridl/parser.rb
5
- @@ -40,15 +40,15 @@ module Racc
6
-
7
- class Parser
8
-
9
- - Racc_Runtime_Version = '1.4.6'
10
- - Racc_Runtime_Revision = '$Id$'
11
- + Racc_Runtime_Version = '1.4.6' unless defined?(Racc_Runtime_Version)
12
- + Racc_Runtime_Revision = '$Id$' unless defined?(Racc_Runtime_Revision)
13
-
14
- - Racc_Runtime_Core_Version_R = '1.4.6'
15
- - Racc_Runtime_Core_Revision_R = '$Id$'.split[1]
16
- + Racc_Runtime_Core_Version_R = '1.4.6' unless defined?(Racc_Runtime_Core_Version_R)
17
- + Racc_Runtime_Core_Revision_R = '$Id$'.split[1] unless defined?(Racc_Runtime_Core_Revision_R)
18
- begin
19
- require 'racc/cparse'
20
- # Racc_Runtime_Core_Version_C = (defined in extention)
21
- - Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
22
- + Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2] unless defined?(Racc_Runtime_Core_Revision_C)
23
- unless new.respond_to?(:_racc_do_parse_c, true)
24
- raise LoadError, 'old cparse.so'
25
- end
26
- @@ -56,11 +56,11 @@ module Racc
27
- raise LoadError, 'selecting ruby version of racc runtime core'
28
- end
29
-
30
- - Racc_Main_Parsing_Routine = :_racc_do_parse_c
31
- - Racc_YY_Parse_Method = :_racc_yyparse_c
32
- - Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C
33
- - Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_C
34
- - Racc_Runtime_Type = 'c'
35
- + Racc_Main_Parsing_Routine = :_racc_do_parse_c unless defined?(Racc_Main_Parsing_Routine)
36
- + Racc_YY_Parse_Method = :_racc_yyparse_c unless defined?(Racc_YY_Parse_Method)
37
- + Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C unless defined?(Racc_Runtime_Core_Version)
38
- + Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_C unless defined?(Racc_Runtime_Core_Revision)
39
- + Racc_Runtime_Type = 'c' unless defined?(Racc_Runtime_Type)
40
- rescue LoadError
41
- Racc_Main_Parsing_Routine = :_racc_do_parse_rb
42
- Racc_YY_Parse_Method = :_racc_yyparse_rb