build-tool 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +14 -0
  3. data/Manifest.txt +5 -36
  4. data/lib/build-tool.rb +1 -1
  5. data/lib/build-tool/build-system/autoconf.rb +26 -11
  6. data/lib/build-tool/build-system/base.rb +7 -0
  7. data/lib/build-tool/build-system/custom.rb +0 -4
  8. data/lib/build-tool/build-system/qt.rb +6 -0
  9. data/lib/build-tool/cfg/lexer.rb +49 -0
  10. data/lib/build-tool/cfg/lexer.rex +19 -0
  11. data/lib/build-tool/cfg/node.rb +4 -0
  12. data/lib/build-tool/cfg/parser.rb +495 -401
  13. data/lib/build-tool/cfg/parser.y +34 -2
  14. data/lib/build-tool/cfg/visitor.rb +46 -6
  15. data/lib/build-tool/commands.rb +7 -4
  16. data/lib/build-tool/commands/build.rb +3 -0
  17. data/lib/build-tool/commands/configure.rb +5 -0
  18. data/lib/build-tool/commands/ctags.rb +6 -0
  19. data/lib/build-tool/commands/environments/list.rb +5 -0
  20. data/lib/build-tool/commands/environments/set.rb +6 -0
  21. data/lib/build-tool/commands/fetch.rb +8 -0
  22. data/lib/build-tool/commands/files.rb +7 -0
  23. data/lib/build-tool/commands/gc.rb +4 -0
  24. data/lib/build-tool/commands/history.rb +7 -0
  25. data/lib/build-tool/commands/info.rb +2 -0
  26. data/lib/build-tool/commands/install.rb +3 -1
  27. data/lib/build-tool/commands/lsfeatures.rb +3 -0
  28. data/lib/build-tool/commands/modules/info.rb +15 -0
  29. data/lib/build-tool/commands/modules/list.rb +8 -3
  30. data/lib/build-tool/commands/modules/shell.rb +1 -1
  31. data/lib/build-tool/commands/rebase.rb +6 -0
  32. data/lib/build-tool/commands/recipes.rb +0 -4
  33. data/lib/build-tool/commands/recipes/add.rb +45 -0
  34. data/lib/build-tool/commands/recipes/incoming.rb +66 -0
  35. data/lib/build-tool/commands/recipes/info.rb +4 -0
  36. data/lib/build-tool/commands/recipes/install.rb +11 -1
  37. data/lib/build-tool/commands/recipes/list.rb +2 -0
  38. data/lib/build-tool/configuration.rb +3 -0
  39. data/lib/build-tool/module.rb +27 -3
  40. data/lib/build-tool/vcs/archive.rb +58 -30
  41. data/lib/build-tool/vcs/base.rb +14 -0
  42. data/lib/build-tool/vcs/mercurial.rb +113 -0
  43. data/lib/build-tool/vcs/svn.rb +20 -2
  44. data/lib/mj/error.rb +7 -0
  45. data/lib/mj/vcs/git.rb +133 -0
  46. metadata +9 -40
  47. metadata.gz.sig +2 -3
  48. data/recipes/kde/custom/qt/qtscriptgenerator/compile.sh +0 -77
  49. data/recipes/kde/custom/qt/qtscriptgenerator/configure.sh +0 -70
  50. data/recipes/kde/custom/qt/qtscriptgenerator/install.sh +0 -39
  51. data/recipes/kde/custom/scripting/pyqt4/compile.sh +0 -10
  52. data/recipes/kde/custom/scripting/pyqt4/configure.sh +0 -14
  53. data/recipes/kde/custom/scripting/pyqt4/install.sh +0 -10
  54. data/recipes/kde/custom/scripting/sip/compile.sh +0 -10
  55. data/recipes/kde/custom/scripting/sip/configure.sh +0 -13
  56. data/recipes/kde/custom/scripting/sip/install.sh +0 -10
  57. data/recipes/kde/files/finish_installation.sh +0 -16
  58. data/recipes/kde/files/kde4.desktop +0 -22
  59. data/recipes/kde/files/xsession +0 -93
  60. data/recipes/kde/info.yaml +0 -10
  61. data/recipes/kde/kde-bindings.recipe +0 -22
  62. data/recipes/kde/kde-core.recipe +0 -104
  63. data/recipes/kde/kde-devel.recipe +0 -38
  64. data/recipes/kde/kde-finance.recipe +0 -17
  65. data/recipes/kde/kde-graphics.recipe +0 -27
  66. data/recipes/kde/kde-kdevelop.recipe +0 -116
  67. data/recipes/kde/kde-l10n.recipe +0 -14
  68. data/recipes/kde/kde-multimedia.recipe +0 -31
  69. data/recipes/kde/kde-network.recipe +0 -55
  70. data/recipes/kde/kde-office.recipe +0 -28
  71. data/recipes/kde/kde-plasma.recipe +0 -117
  72. data/recipes/kde/kde-qt.recipe +0 -122
  73. data/recipes/kde/kde-scripting.recipe +0 -63
  74. data/recipes/kde/kde-support.recipe +0 -73
  75. data/recipes/kde/kde-utils.recipe +0 -22
  76. data/recipes/kde/kde-webdev.recipe +0 -41
  77. data/recipes/kde/recipe +0 -155
  78. data/recipes/kde/recipe-local +0 -146
  79. data/recipes/kde/settings.yaml +0 -69
  80. data/recipes/kde43/info.yaml +0 -10
  81. data/recipes/kde43/recipe +0 -256
  82. data/recipes/kde43/recipe-local +0 -146
  83. data/recipes/kde43/settings.yaml +0 -32
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,17 @@
1
+ == 0.3
2
+ - Main Features
3
+ * Split the recipes from the gem
4
+ * New command: recipe add <url> <name>
5
+ * New command: recipe incoming
6
+ * Qt: Call bin/synqt after each rebase
7
+ - Features
8
+ * VCS Autoconf: support autogen.sh and bootstrap
9
+ * VCS SVN: sparse checkout support
10
+ * VCS: Mercurial support
11
+ - Bugfixes
12
+ * Initialize the log directory on demand
13
+
14
+
1
15
  == 0.2
2
16
  - Features
3
17
  * Implement include directive.
data/Manifest.txt CHANGED
@@ -45,6 +45,8 @@ lib/build-tool/commands/modules/list.rb
45
45
  lib/build-tool/commands/modules/shell.rb
46
46
  lib/build-tool/commands/rebase.rb
47
47
  lib/build-tool/commands/recipes.rb
48
+ lib/build-tool/commands/recipes/add.rb
49
+ lib/build-tool/commands/recipes/incoming.rb
48
50
  lib/build-tool/commands/recipes/info.rb
49
51
  lib/build-tool/commands/recipes/install.rb
50
52
  lib/build-tool/commands/recipes/list.rb
@@ -63,47 +65,14 @@ lib/build-tool/vcs/archive.rb
63
65
  lib/build-tool/vcs/base.rb
64
66
  lib/build-tool/vcs/git-svn.rb
65
67
  lib/build-tool/vcs/git.rb
68
+ lib/build-tool/vcs/mercurial.rb
66
69
  lib/build-tool/vcs/svn.rb
70
+ lib/mj/error.rb
67
71
  lib/mj/logging.rb
68
72
  lib/mj/tools/ssh.rb
69
73
  lib/mj/tools/subprocess.rb
74
+ lib/mj/vcs/git.rb
70
75
  lib/mj/visitor.rb
71
- recipes/kde/custom/qt/qtscriptgenerator/compile.sh
72
- recipes/kde/custom/qt/qtscriptgenerator/configure.sh
73
- recipes/kde/custom/qt/qtscriptgenerator/install.sh
74
- recipes/kde/custom/scripting/pyqt4/compile.sh
75
- recipes/kde/custom/scripting/pyqt4/configure.sh
76
- recipes/kde/custom/scripting/pyqt4/install.sh
77
- recipes/kde/custom/scripting/sip/compile.sh
78
- recipes/kde/custom/scripting/sip/configure.sh
79
- recipes/kde/custom/scripting/sip/install.sh
80
- recipes/kde/files/finish_installation.sh
81
- recipes/kde/files/kde4.desktop
82
- recipes/kde/files/xsession
83
- recipes/kde/info.yaml
84
- recipes/kde/kde-bindings.recipe
85
- recipes/kde/kde-core.recipe
86
- recipes/kde/kde-devel.recipe
87
- recipes/kde/kde-finance.recipe
88
- recipes/kde/kde-graphics.recipe
89
- recipes/kde/kde-kdevelop.recipe
90
- recipes/kde/kde-l10n.recipe
91
- recipes/kde/kde-multimedia.recipe
92
- recipes/kde/kde-network.recipe
93
- recipes/kde/kde-office.recipe
94
- recipes/kde/kde-plasma.recipe
95
- recipes/kde/kde-qt.recipe
96
- recipes/kde/kde-scripting.recipe
97
- recipes/kde/kde-support.recipe
98
- recipes/kde/kde-utils.recipe
99
- recipes/kde/kde-webdev.recipe
100
- recipes/kde/recipe
101
- recipes/kde/recipe-local
102
- recipes/kde/settings.yaml
103
- recipes/kde43/info.yaml
104
- recipes/kde43/recipe
105
- recipes/kde43/recipe-local
106
- recipes/kde43/settings.yaml
107
76
  tasks/genfiles.rake
108
77
  tasks/rspec.rake
109
78
  test/commands/test_build.rb
data/lib/build-tool.rb CHANGED
@@ -2,6 +2,6 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module BuildTool
5
- VERSION = '0.2'
5
+ VERSION = '0.3'
6
6
  end
7
7
 
@@ -43,16 +43,7 @@ module BuildTool; module BuildSystem
43
43
  end
44
44
 
45
45
  def[]=( var, val )
46
- case var
47
-
48
- when 'CXXFLAGS'
49
- @options[var] = val
50
-
51
- else
52
- # *TODO* raise correct exception
53
- raise NotImplementedError
54
- end
55
-
46
+ @options[var] = val
56
47
  end
57
48
 
58
49
  # Configure the module
@@ -80,6 +71,18 @@ module BuildTool; module BuildSystem
80
71
  raise AutoConfError, "'make -f Makefile.cvs' failed with error #{rc}!"
81
72
  end
82
73
  rc
74
+ elsif File.exist?( "#{source_directory}/autogen.sh" )
75
+ rc = self.class.execute "sh ./autogen.sh", source_directory, env
76
+ if rc != 0
77
+ raise AutoConfError, "'sh ./autogen.sh' failed with error #{rc}!"
78
+ end
79
+ rc
80
+ elsif File.exist?( "#{source_directory}/bootstrap" )
81
+ rc = self.class.execute "sh ./bootstrap", source_directory, env
82
+ if rc != 0
83
+ raise AutoConfError, "'sh ./bootstrap' failed with error #{rc}!"
84
+ end
85
+ rc
83
86
  else
84
87
  raise AutoConfError, "No idea how to bootstrap this project!"
85
88
  end
@@ -88,7 +91,7 @@ module BuildTool; module BuildSystem
88
91
  def configure
89
92
  check_build_directory( true )
90
93
  bootstrap
91
- opt = ""
94
+ opt = option_string
92
95
  opt += " --prefix=#{install_prefix.to_s}" if install_prefix
93
96
  rc = self.class.execute "#{source_directory}/configure #{opt}", build_directory, env
94
97
  if rc != 0
@@ -117,6 +120,18 @@ module BuildTool; module BuildSystem
117
120
  do_make( target )
118
121
  end
119
122
 
123
+ def option_string
124
+ arr = []
125
+ @options.each do |var, val|
126
+ if val
127
+ arr << "--#{var}='#{val}'"
128
+ else
129
+ arr << "--#{var}'"
130
+ end
131
+ end
132
+ arr.join(" ")
133
+ end
134
+
120
135
  end # class Autoconf
121
136
 
122
137
  end; end # module BuildTool::BuildSystem
@@ -60,6 +60,9 @@ module BuildTool; module BuildSystem
60
60
  raise ConfigurationError, "No module set for build-system"
61
61
  end
62
62
 
63
+ def after_rebase
64
+ end
65
+
63
66
  #
64
67
  ### METHODS
65
68
  #
@@ -110,6 +113,10 @@ module BuildTool; module BuildSystem
110
113
  end
111
114
  end
112
115
 
116
+ def recipe
117
+ Application::instance.recipe
118
+ end
119
+
113
120
  def remove_build_directory
114
121
  self.class.execute "rm -rf #{build_directory}"
115
122
  end
@@ -92,10 +92,6 @@ module BuildTool; module BuildSystem
92
92
  arr.join(" ")
93
93
  end
94
94
 
95
- def recipe
96
- Application::instance.recipe
97
- end
98
-
99
95
  end # class Custom
100
96
 
101
97
  end; end # module BuildTool::BuildSystem
@@ -70,6 +70,12 @@ module BuildTool; module BuildSystem
70
70
  rc
71
71
  end
72
72
 
73
+ def after_rebase
74
+ if configured?
75
+ rc = self.class.execute( "bin/syncqt", build_directory, self.module.environment.values )
76
+ end
77
+ end
78
+
73
79
  def configure
74
80
  check_build_directory( true )
75
81
  opt = ""
@@ -362,6 +362,18 @@ class Lexer < Racc::Parser
362
362
  when (text = @ss.scan(/</))
363
363
  action { [:INHERITANCE, text]; }
364
364
 
365
+ when (text = @ss.scan(/apply\b/))
366
+ action { [:APPLY, text ]; }
367
+
368
+ when (text = @ss.scan(/patch\b/))
369
+ action { [:PATCH, text ]; }
370
+
371
+ when (text = @ss.scan(/long\b/))
372
+ action { [:LONG, text ]; }
373
+
374
+ when (text = @ss.scan(/description\b/))
375
+ action { [:DESCRIPTION, text ]; }
376
+
365
377
  when (text = @ss.scan(/install-prefix\b/))
366
378
  action { [:INSTALL_PREFIX, text]; }
367
379
 
@@ -581,6 +593,40 @@ class Lexer < Racc::Parser
581
593
  raise ScanError, "can not match: '" + text + "'"
582
594
  end # if
583
595
 
596
+ when :SVN
597
+ case
598
+ when (text = @ss.scan(/only\b/))
599
+ action { [:ONLY, text]; }
600
+
601
+ when (text = @ss.scan(/end\b/))
602
+ action { @state = @states.pop; [ :END, text ]; }
603
+
604
+ when (text = @ss.scan(/"([^\"\r\n]*)"/))
605
+ action { [:STRING, @ss[1]]; }
606
+
607
+ when (text = @ss.scan(/[a-zA-Z][A-Za-z_0-9-]*/))
608
+ action { [:TOKEN, text]; }
609
+
610
+ when (text = @ss.scan(/\#[^\r\n]*/))
611
+ action { [:COMMENT, text]; }
612
+
613
+ when (text = @ss.scan(/[ \t]+/))
614
+ action { [:IGNORE, text]; }
615
+
616
+ when (text = @ss.scan(/[\r\n]/))
617
+ action { [:IGNORE, text]; }
618
+
619
+ when (text = @ss.scan(/"([^\"\r\n]*)$/))
620
+ action { [:GARBAGE, text]; }
621
+
622
+ when (text = @ss.scan(/./))
623
+ action { [:GARBAGE, text]; }
624
+
625
+ else
626
+ text = @ss.string[@ss.pos .. -1]
627
+ raise ScanError, "can not match: '" + text + "'"
628
+ end # if
629
+
584
630
  when :USE
585
631
  case
586
632
  when (text = @ss.scan(/build-system\b/))
@@ -635,6 +681,9 @@ class Lexer < Racc::Parser
635
681
  when (text = @ss.scan(/git\b/))
636
682
  action { @state = :GIT; [:GIT, text]; }
637
683
 
684
+ when (text = @ss.scan(/svn\b/))
685
+ action { @state = :SVN; [:SVN, text]; }
686
+
638
687
  when (text = @ss.scan(/archive\b/))
639
688
  action { @state = :ARCHIVE; [:ARCHIVE, text]; }
640
689
 
@@ -172,6 +172,10 @@ rule
172
172
  #
173
173
  :MODULE build-prefix\b { [:BUILD_PREFIX, text]; }
174
174
  :MODULE {INHERITANCE} { [:INHERITANCE, text]; }
175
+ :MODULE apply\b { [:APPLY, text ]; }
176
+ :MODULE patch\b { [:PATCH, text ]; }
177
+ :MODULE long\b { [:LONG, text ]; }
178
+ :MODULE description\b { [:DESCRIPTION, text ]; }
175
179
  :MODULE install-prefix\b { [:INSTALL_PREFIX, text]; }
176
180
  :MODULE local-path\b { [:LOCAL_PATH, text]; }
177
181
  :MODULE remote-path\b { [:REMOTE_PATH, text]; }
@@ -258,6 +262,20 @@ rule
258
262
  :SSH_KEY {STRINGERROR} { [:GARBAGE, text]; }
259
263
  :SSH_KEY . { [:GARBAGE, text]; }
260
264
 
265
+ #
266
+ ### SVN
267
+ #
268
+ :SVN only\b { [:ONLY, text]; }
269
+ :SVN end\b { @state = @states.pop; [ :END, text ]; }
270
+ # COMMON
271
+ :SVN {STRING} { [:STRING, @ss[1]]; }
272
+ :SVN {TOKEN} { [:TOKEN, text]; }
273
+ :SVN {COMMENT} { [:COMMENT, text]; }
274
+ :SVN {BLANK} { [:IGNORE, text]; }
275
+ :SVN {LF} { [:IGNORE, text]; }
276
+ :SVN {STRINGERROR} { [:GARBAGE, text]; }
277
+ :SVN . { [:GARBAGE, text]; }
278
+
261
279
  #
262
280
  ### USE
263
281
  #
@@ -281,6 +299,7 @@ rule
281
299
  #
282
300
  :VCS git-svn\b { @state = :GIT; [:GIT_SVN, text]; }
283
301
  :VCS git\b { @state = :GIT; [:GIT, text]; }
302
+ :VCS svn\b { @state = :SVN; [:SVN, text]; }
284
303
  :VCS archive\b { @state = :ARCHIVE; [:ARCHIVE, text]; }
285
304
  # COMMON
286
305
  :VCS {STRING} { [:STRING, @ss[1]]; }
@@ -21,6 +21,7 @@ module BuildTool; module Cfg;
21
21
  end # class Node
22
22
 
23
23
  %w[
24
+ ApplyPatches
24
25
  ArchiveDeclaration
25
26
 
26
27
  BuildSystemDeclaration
@@ -71,6 +72,9 @@ module BuildTool; module Cfg;
71
72
  SshKeyDeclaration
72
73
  SshKeyFile
73
74
 
75
+ SvnDeclaration
76
+ SvnCheckoutOnly
77
+
74
78
  UseBuildSystem
75
79
  UseEnvironment
76
80
  UseRepository
@@ -22,7 +22,7 @@ module BuildTool
22
22
 
23
23
  class Parser < BuildTool::Cfg::Lexer
24
24
 
25
- module_eval <<'..end lib/build-tool/cfg/parser.y modeval..id73b9f9dc71', 'lib/build-tool/cfg/parser.y', 318
25
+ module_eval <<'..end lib/build-tool/cfg/parser.y modeval..id2c539b3d08', 'lib/build-tool/cfg/parser.y', 350
26
26
  #
27
27
  ### INNER
28
28
  #
@@ -40,295 +40,321 @@ def parse_string( string, file = "<string>" )
40
40
  return configuration
41
41
  end
42
42
 
43
- ..end lib/build-tool/cfg/parser.y modeval..id73b9f9dc71
43
+ ..end lib/build-tool/cfg/parser.y modeval..id2c539b3d08
44
44
 
45
45
  ##### racc 1.4.5 generates ###
46
46
 
47
47
  racc_reduce_table = [
48
48
  0, 0, :racc_error,
49
- 1, 45, :_reduce_1,
50
- 1, 47, :_reduce_2,
51
- 1, 47, :_reduce_3,
52
- 1, 48, :_reduce_4,
53
- 0, 46, :_reduce_none,
54
- 2, 46, :_reduce_6,
55
- 2, 49, :_reduce_7,
56
- 3, 49, :_reduce_8,
57
- 3, 49, :_reduce_9,
58
- 3, 49, :_reduce_10,
59
- 3, 49, :_reduce_11,
60
- 1, 49, :_reduce_12,
61
- 1, 50, :_reduce_13,
62
- 1, 50, :_reduce_14,
63
- 1, 50, :_reduce_15,
64
- 1, 50, :_reduce_16,
65
- 1, 50, :_reduce_17,
66
- 1, 50, :_reduce_18,
67
- 1, 50, :_reduce_19,
68
- 1, 50, :_reduce_20,
69
- 1, 59, :_reduce_21,
70
- 1, 59, :_reduce_22,
71
- 1, 59, :_reduce_23,
72
- 4, 62, :_reduce_24,
73
- 0, 63, :_reduce_none,
74
- 4, 51, :_reduce_26,
75
- 0, 64, :_reduce_none,
76
- 2, 64, :_reduce_28,
77
- 3, 65, :_reduce_29,
78
- 1, 65, :_reduce_30,
79
- 4, 52, :_reduce_31,
80
- 6, 52, :_reduce_32,
81
- 0, 66, :_reduce_none,
82
- 2, 66, :_reduce_34,
83
- 4, 67, :_reduce_35,
84
- 4, 67, :_reduce_36,
85
- 4, 67, :_reduce_37,
86
- 4, 58, :_reduce_38,
49
+ 1, 49, :_reduce_1,
50
+ 1, 51, :_reduce_2,
51
+ 1, 51, :_reduce_3,
52
+ 1, 52, :_reduce_4,
53
+ 0, 50, :_reduce_none,
54
+ 2, 50, :_reduce_6,
55
+ 2, 53, :_reduce_7,
56
+ 3, 53, :_reduce_8,
57
+ 3, 53, :_reduce_9,
58
+ 3, 53, :_reduce_10,
59
+ 3, 53, :_reduce_11,
60
+ 1, 53, :_reduce_12,
61
+ 1, 54, :_reduce_13,
62
+ 1, 54, :_reduce_14,
63
+ 1, 54, :_reduce_15,
64
+ 1, 54, :_reduce_16,
65
+ 1, 54, :_reduce_17,
66
+ 1, 54, :_reduce_18,
67
+ 1, 54, :_reduce_19,
68
+ 1, 54, :_reduce_20,
69
+ 1, 63, :_reduce_21,
70
+ 1, 63, :_reduce_22,
71
+ 1, 63, :_reduce_23,
72
+ 1, 63, :_reduce_24,
73
+ 4, 67, :_reduce_25,
87
74
  0, 68, :_reduce_none,
88
- 2, 68, :_reduce_40,
89
- 1, 69, :_reduce_41,
90
- 3, 69, :_reduce_42,
91
- 3, 69, :_reduce_43,
92
- 4, 60, :_reduce_44,
93
- 0, 70, :_reduce_none,
94
- 2, 70, :_reduce_46,
95
- 4, 71, :_reduce_47,
96
- 0, 72, :_reduce_none,
97
- 2, 72, :_reduce_49,
98
- 1, 73, :_reduce_50,
99
- 3, 73, :_reduce_51,
100
- 4, 61, :_reduce_52,
101
- 0, 74, :_reduce_none,
102
- 2, 74, :_reduce_54,
103
- 1, 75, :_reduce_55,
104
- 2, 75, :_reduce_56,
105
- 2, 57, :_reduce_57,
106
- 4, 53, :_reduce_58,
107
- 6, 53, :_reduce_59,
75
+ 4, 55, :_reduce_27,
76
+ 0, 69, :_reduce_none,
77
+ 2, 69, :_reduce_29,
78
+ 3, 70, :_reduce_30,
79
+ 1, 70, :_reduce_31,
80
+ 4, 56, :_reduce_32,
81
+ 6, 56, :_reduce_33,
82
+ 0, 71, :_reduce_none,
83
+ 2, 71, :_reduce_35,
84
+ 4, 72, :_reduce_36,
85
+ 4, 72, :_reduce_37,
86
+ 4, 72, :_reduce_38,
87
+ 4, 62, :_reduce_39,
88
+ 0, 73, :_reduce_none,
89
+ 2, 73, :_reduce_41,
90
+ 1, 74, :_reduce_42,
91
+ 3, 74, :_reduce_43,
92
+ 3, 74, :_reduce_44,
93
+ 4, 64, :_reduce_45,
108
94
  0, 76, :_reduce_none,
109
- 2, 76, :_reduce_61,
110
- 3, 77, :_reduce_62,
111
- 3, 77, :_reduce_63,
112
- 3, 77, :_reduce_64,
113
- 3, 77, :_reduce_65,
114
- 1, 77, :_reduce_66,
115
- 1, 77, :_reduce_67,
116
- 1, 77, :_reduce_68,
117
- 1, 77, :_reduce_69,
118
- 2, 77, :_reduce_70,
119
- 2, 77, :_reduce_71,
120
- 2, 77, :_reduce_72,
121
- 2, 77, :_reduce_73,
122
- 1, 77, :_reduce_74,
123
- 4, 54, :_reduce_75,
95
+ 2, 76, :_reduce_47,
96
+ 4, 77, :_reduce_48,
124
97
  0, 78, :_reduce_none,
125
- 2, 78, :_reduce_77,
126
- 2, 79, :_reduce_78,
127
- 2, 79, :_reduce_79,
128
- 3, 79, :_reduce_80,
129
- 3, 79, :_reduce_81,
130
- 1, 79, :_reduce_82,
131
- 1, 79, :_reduce_83,
132
- 4, 55, :_reduce_84,
98
+ 2, 78, :_reduce_50,
99
+ 1, 79, :_reduce_51,
100
+ 3, 79, :_reduce_52,
101
+ 4, 66, :_reduce_53,
133
102
  0, 80, :_reduce_none,
134
- 2, 80, :_reduce_86,
135
- 2, 81, :_reduce_87,
136
- 2, 81, :_reduce_88,
137
- 2, 81, :_reduce_89,
138
- 4, 56, :_reduce_90,
103
+ 2, 80, :_reduce_55,
104
+ 1, 81, :_reduce_56,
105
+ 2, 81, :_reduce_57,
106
+ 2, 61, :_reduce_58,
107
+ 4, 57, :_reduce_59,
108
+ 6, 57, :_reduce_60,
139
109
  0, 82, :_reduce_none,
140
- 2, 82, :_reduce_92,
141
- 2, 83, :_reduce_93 ]
142
-
143
- racc_reduce_n = 94
144
-
145
- racc_shift_n = 173
110
+ 2, 82, :_reduce_62,
111
+ 3, 83, :_reduce_63,
112
+ 3, 83, :_reduce_64,
113
+ 3, 83, :_reduce_65,
114
+ 3, 83, :_reduce_66,
115
+ 3, 83, :_reduce_67,
116
+ 2, 83, :_reduce_68,
117
+ 1, 83, :_reduce_69,
118
+ 1, 83, :_reduce_70,
119
+ 1, 83, :_reduce_71,
120
+ 1, 83, :_reduce_72,
121
+ 2, 83, :_reduce_73,
122
+ 2, 83, :_reduce_74,
123
+ 2, 83, :_reduce_75,
124
+ 2, 83, :_reduce_76,
125
+ 1, 83, :_reduce_77,
126
+ 3, 83, :_reduce_78,
127
+ 4, 58, :_reduce_79,
128
+ 0, 84, :_reduce_none,
129
+ 2, 84, :_reduce_81,
130
+ 2, 85, :_reduce_82,
131
+ 2, 85, :_reduce_83,
132
+ 3, 85, :_reduce_84,
133
+ 3, 85, :_reduce_85,
134
+ 1, 85, :_reduce_86,
135
+ 1, 85, :_reduce_87,
136
+ 4, 59, :_reduce_88,
137
+ 0, 86, :_reduce_none,
138
+ 2, 86, :_reduce_90,
139
+ 2, 87, :_reduce_91,
140
+ 2, 87, :_reduce_92,
141
+ 2, 87, :_reduce_93,
142
+ 4, 60, :_reduce_94,
143
+ 0, 88, :_reduce_none,
144
+ 2, 88, :_reduce_96,
145
+ 2, 89, :_reduce_97,
146
+ 4, 65, :_reduce_98,
147
+ 0, 90, :_reduce_none,
148
+ 2, 90, :_reduce_100,
149
+ 2, 91, :_reduce_101,
150
+ 0, 75, :_reduce_none,
151
+ 2, 75, :_reduce_103 ]
152
+
153
+ racc_reduce_n = 104
154
+
155
+ racc_shift_n = 190
146
156
 
147
157
  racc_action_table = [
148
- 52, 11, 52, 11, 102, 142, 22, 142, 22, 105,
149
- 60, 116, 86, 21, 69, 151, 63, 64, 63, 64,
150
- 68, 167, 84, 140, 87, 140, 61, 19, 61, 19,
151
- 103, 52, 11, 51, 91, 51, 58, 22, 58, 67,
152
- 152, 67, 104, 36, 118, 60, 150, 63, 64, 11,
153
- 34, 16, 18, 86, 22, 37, 3, 61, 19, 114,
154
- 111, 13, 35, 84, 51, 87, 2, 58, 7, 21,
155
- 67, 110, 112, 11, 46, 19, 21, 167, 22, 6,
156
- 3, 80, 69, 120, 122, 13, 119, 21, 68, 123,
157
- 6, 42, 7, 33, 125, 81, 82, 126, 127, 19,
158
- 21, 91, 41, 6, 11, 109, 16, 18, 130, 22,
159
- 11, 3, 26, 131, 27, 22, 13, 3, 80, 132,
160
- 108, 2, 13, 7, 21, 107, 106, 6, 42, 7,
161
- 19, 21, 81, 82, 6, 47, 19, 21, 100, 41,
162
- 6, 26, 26, 27, 27, 26, 26, 27, 27, 26,
163
- 26, 27, 27, 26, 26, 27, 27, 26, 26, 27,
164
- 27, 26, 26, 27, 27, 26, 26, 27, 27, 26,
165
- 26, 27, 27, 26, 26, 27, 27, 26, 26, 27,
166
- 27, 26, 140, 27, 47, 146, 97, 96, 91, 94,
167
- 93, 154, 140, 156, 157, 158, 159, 28, 161, 162,
168
- 163, 164, 92, 169, 170, 24, 153 ]
158
+ 71, 124, 74, 15, 77, 120, 116, 45, 1, 158,
159
+ 117, 36, 123, 125, 24, 158, 121, 26, 82, 63,
160
+ 122, 70, 115, 37, 71, 139, 74, 15, 77, 154,
161
+ 64, 3, 1, 118, 41, 154, 24, 126, 78, 26,
162
+ 45, 66, 82, 63, 73, 70, 119, 127, 71, 53,
163
+ 74, 15, 77, 141, 64, 3, 1, 24, 53, 140,
164
+ 26, 54, 78, 55, 38, 66, 82, 63, 73, 70,
165
+ 54, 6, 55, 6, 91, 128, 39, 91, 64, 3,
166
+ 182, 90, 182, 33, 90, 130, 78, 113, 15, 66,
167
+ 20, 21, 73, 1, 15, 7, 20, 21, 132, 1,
168
+ 18, 7, 133, 50, 86, 5, 18, 9, 135, 6,
169
+ 136, 5, 12, 9, 112, 111, 3, 6, 46, 47,
170
+ 12, 109, 3, 6, 15, 24, 12, 24, 26, 1,
171
+ 26, 7, 15, 41, 108, 24, 18, 1, 26, 7,
172
+ 107, 146, 58, 9, 18, 24, 100, 106, 26, 101,
173
+ 58, 9, 3, 6, 24, 59, 12, 26, 104, 50,
174
+ 3, 6, 103, 59, 12, 6, 24, 24, 12, 26,
175
+ 26, 41, 152, 24, 46, 47, 26, 24, 24, 24,
176
+ 26, 26, 26, 24, 24, 24, 26, 26, 26, 24,
177
+ 24, 24, 26, 26, 26, 24, 24, 154, 26, 26,
178
+ 28, 163, 97, 165, 96, 167, 168, 169, 170, 170,
179
+ 154, 172, 173, 174, 175, 176, 87, 178, 163, 180,
180
+ 181, 86, 186, 187, 35, 166 ]
169
181
 
170
182
  racc_action_check = [
171
- 101, 101, 50, 50, 58, 145, 101, 112, 50, 58,
172
- 40, 78, 39, 168, 31, 130, 101, 101, 50, 50,
173
- 31, 168, 39, 145, 39, 112, 101, 101, 50, 50,
174
- 58, 30, 30, 101, 40, 50, 101, 30, 50, 101,
175
- 130, 50, 58, 18, 80, 30, 130, 30, 30, 0,
176
- 16, 0, 0, 85, 0, 18, 0, 30, 30, 70,
177
- 67, 0, 16, 85, 30, 85, 0, 30, 0, 156,
178
- 30, 67, 67, 25, 28, 0, 0, 156, 25, 0,
179
- 25, 79, 71, 81, 83, 25, 81, 79, 71, 84,
180
- 79, 25, 25, 13, 86, 79, 79, 87, 88, 25,
181
- 25, 89, 25, 25, 12, 66, 12, 12, 91, 12,
182
- 44, 12, 37, 92, 37, 44, 12, 44, 38, 93,
183
- 64, 12, 44, 12, 38, 63, 61, 38, 44, 44,
184
- 12, 12, 38, 38, 12, 29, 44, 44, 52, 44,
185
- 44, 36, 3, 36, 3, 21, 6, 21, 6, 35,
186
- 120, 35, 120, 119, 7, 119, 7, 34, 105, 34,
187
- 105, 54, 104, 54, 104, 103, 102, 103, 102, 11,
188
- 90, 11, 90, 82, 68, 82, 68, 19, 22, 19,
189
- 22, 170, 110, 170, 49, 113, 48, 47, 129, 43,
190
- 42, 138, 139, 140, 141, 142, 144, 5, 149, 150,
191
- 151, 152, 41, 166, 167, 2, 133 ]
183
+ 76, 73, 76, 76, 76, 66, 64, 25, 76, 160,
184
+ 66, 20, 73, 73, 44, 125, 70, 44, 76, 76,
185
+ 71, 76, 63, 20, 31, 96, 31, 31, 31, 160,
186
+ 76, 76, 31, 66, 25, 125, 38, 73, 76, 38,
187
+ 31, 76, 31, 31, 76, 31, 66, 74, 131, 57,
188
+ 131, 131, 131, 96, 31, 31, 131, 39, 29, 96,
189
+ 39, 57, 31, 57, 21, 31, 131, 131, 31, 131,
190
+ 29, 172, 29, 184, 34, 75, 21, 89, 131, 131,
191
+ 172, 34, 184, 14, 89, 77, 131, 60, 0, 131,
192
+ 0, 0, 131, 0, 22, 0, 22, 22, 82, 22,
193
+ 0, 22, 84, 52, 85, 0, 22, 0, 86, 52,
194
+ 88, 22, 52, 22, 59, 58, 0, 0, 52, 52,
195
+ 0, 56, 22, 22, 61, 12, 22, 3, 12, 61,
196
+ 3, 61, 30, 99, 55, 120, 61, 30, 120, 30,
197
+ 54, 112, 61, 61, 30, 37, 46, 53, 37, 46,
198
+ 30, 30, 61, 61, 47, 61, 61, 47, 51, 27,
199
+ 30, 30, 50, 30, 30, 27, 119, 118, 27, 119,
200
+ 118, 43, 122, 36, 27, 27, 36, 117, 101, 100,
201
+ 117, 101, 100, 6, 1, 90, 6, 1, 90, 15,
202
+ 80, 7, 15, 80, 7, 9, 186, 123, 9, 186,
203
+ 5, 126, 42, 138, 41, 140, 141, 142, 145, 151,
204
+ 153, 154, 155, 156, 158, 159, 33, 161, 162, 163,
205
+ 164, 32, 182, 183, 18, 139 ]
192
206
 
193
207
  racc_action_pointer = [
194
- 44, nil, 169, 106, nil, 197, 110, 118, nil, nil,
195
- nil, 133, 99, 57, nil, nil, 38, nil, 31, 141,
196
- nil, 109, 142, nil, nil, 68, nil, nil, 74, 122,
197
- 27, -5, nil, nil, 121, 113, 105, 76, 92, -4,
198
- -8, 196, 184, 180, 105, nil, nil, 151, 177, 171,
199
- -2, nil, 102, nil, 125, nil, nil, nil, -1, nil,
200
- nil, 90, nil, 89, 84, nil, 96, 57, 138, nil,
201
- 50, 63, nil, nil, nil, nil, nil, nil, 2, 55,
202
- 8, 51, 137, 75, 53, 37, 58, 61, 89, 59,
203
- 134, 70, 77, 83, nil, nil, nil, nil, nil, nil,
204
- nil, -4, 130, 129, 126, 122, nil, nil, nil, nil,
205
- 153, nil, -4, 149, nil, nil, nil, nil, nil, 117,
206
- 114, nil, nil, nil, nil, nil, nil, nil, nil, 146,
207
- 13, nil, nil, 197, nil, nil, nil, nil, 182, 163,
208
- 157, 185, 159, nil, 187, -6, nil, nil, nil, 189,
209
- 163, 164, 165, nil, nil, nil, 37, nil, nil, nil,
210
- nil, nil, nil, nil, nil, nil, 194, 172, -19, nil,
211
- 145, nil, nil ]
208
+ 82, 145, nil, 88, nil, 161, 144, 152, nil, 156,
209
+ nil, nil, 86, nil, 83, 150, nil, nil, 185, nil,
210
+ -2, 51, 88, nil, nil, -12, nil, 130, nil, 41,
211
+ 126, 21, 207, 216, 54, nil, 134, 106, -3, 18,
212
+ nil, 162, 192, 125, -25, nil, 111, 115, nil, nil,
213
+ 123, 148, 74, 108, 101, 95, 111, 32, 108, 107,
214
+ 77, 118, nil, -17, -33, nil, -1, nil, nil, nil,
215
+ 9, -8, nil, -3, 8, 65, -3, 46, nil, nil,
216
+ 151, nil, 59, nil, 92, 90, 69, nil, 100, 57,
217
+ 146, nil, nil, nil, nil, nil, 23, nil, nil, 87,
218
+ 140, 139, nil, nil, nil, nil, nil, nil, nil, nil,
219
+ nil, nil, 102, nil, nil, nil, nil, 138, 128, 127,
220
+ 96, nil, 133, 165, nil, 3, 175, nil, nil, nil,
221
+ nil, 45, nil, nil, nil, nil, nil, nil, 164, 186,
222
+ 166, 167, 197, nil, nil, 169, nil, nil, nil, nil,
223
+ nil, 170, nil, 178, 172, 202, 203, nil, 175, 205,
224
+ -3, 207, 192, 180, 210, nil, nil, nil, nil, nil,
225
+ nil, nil, 36, nil, nil, nil, nil, nil, nil, nil,
226
+ nil, nil, 187, 213, 38, nil, 157, nil, nil, nil ]
212
227
 
213
228
  racc_action_default = [
214
- -5, -17, -94, -94, -18, -94, -94, -94, -19, -1,
215
- -20, -94, -5, -94, -12, -13, -94, -14, -94, -94,
216
- -15, -94, -94, -16, -7, -39, -2, -3, -94, -91,
217
- -60, -27, -6, -57, -94, -94, -94, -94, -76, -85,
218
- -33, -94, -94, -94, -39, -41, 173, -94, -94, -91,
219
- -60, -74, -94, -67, -94, -21, -22, -66, -94, -23,
220
- -4, -94, -69, -94, -94, -68, -94, -94, -94, -30,
221
- -94, -27, -8, -10, -9, -11, -83, -82, -94, -76,
222
- -94, -94, -94, -94, -94, -85, -94, -94, -94, -33,
223
- -94, -94, -94, -94, -38, -40, -93, -90, -92, -61,
224
- -71, -60, -94, -94, -94, -94, -72, -70, -73, -58,
225
- -45, -25, -53, -94, -26, -28, -75, -77, -78, -94,
226
- -94, -79, -84, -89, -86, -87, -88, -31, -34, -33,
227
- -94, -43, -42, -94, -62, -64, -65, -63, -94, -45,
228
- -94, -94, -94, -55, -94, -53, -29, -80, -81, -94,
229
- -94, -94, -94, -59, -44, -46, -48, -24, -56, -52,
230
- -54, -32, -35, -37, -36, -50, -94, -94, -48, -47,
231
- -94, -49, -51 ]
229
+ -5, -104, -13, -104, -14, -104, -104, -104, -15, -104,
230
+ -16, -17, -104, -18, -104, -104, -19, -1, -104, -20,
231
+ -104, -104, -5, -12, -2, -34, -3, -80, -7, -89,
232
+ -40, -61, -95, -104, -28, -58, -104, -104, -104, -104,
233
+ -6, -104, -104, -34, -104, -4, -104, -104, -87, -86,
234
+ -104, -104, -80, -104, -104, -104, -104, -89, -104, -104,
235
+ -104, -40, -42, -104, -104, -69, -104, -23, -72, -24,
236
+ -104, -104, -71, -104, -104, -104, -61, -104, -77, -70,
237
+ -104, -21, -104, -22, -104, -95, -104, 190, -104, -28,
238
+ -104, -31, -8, -10, -9, -11, -104, -32, -35, -34,
239
+ -104, -104, -83, -82, -79, -81, -91, -93, -92, -88,
240
+ -90, -102, -104, -39, -41, -76, -75, -104, -104, -104,
241
+ -104, -102, -104, -46, -26, -54, -99, -74, -59, -62,
242
+ -68, -61, -73, -94, -96, -97, -27, -29, -104, -104,
243
+ -104, -104, -104, -85, -84, -43, -44, -64, -65, -66,
244
+ -63, -67, -78, -46, -104, -104, -104, -56, -104, -104,
245
+ -54, -104, -99, -104, -104, -30, -38, -36, -37, -33,
246
+ -103, -47, -49, -45, -25, -57, -53, -55, -98, -100,
247
+ -101, -60, -104, -104, -49, -51, -104, -48, -50, -52 ]
232
248
 
233
249
  racc_goto_table = [
234
- 25, 76, 65, 29, 30, 88, 66, 62, 31, 57,
235
- 83, 78, 77, 143, 144, 70, 38, 48, 39, 40,
236
- 138, 43, 65, 9, 45, 141, 99, 62, 54, 57,
237
- 5, 72, 73, 74, 75, 32, 166, 98, 90, nil,
238
- 95, nil, 76, 45, nil, nil, 143, 160, 171, 155,
239
- nil, 101, 117, 77, 128, 115, 124, nil, nil, nil,
240
- nil, nil, nil, nil, nil, 113, nil, nil, nil, nil,
241
- nil, nil, nil, 65, nil, nil, nil, 133, 62, 121,
242
- 57, nil, nil, nil, nil, nil, nil, 129, nil, nil,
243
- nil, nil, nil, nil, 149, nil, nil, nil, nil, 134,
244
- 135, 136, 137, nil, nil, nil, nil, nil, nil, nil,
245
- nil, nil, nil, nil, nil, nil, 147, 148, nil, 165,
250
+ 25, 48, 27, 75, 72, 29, 30, 68, 31, 65,
251
+ 42, 32, 88, 84, 34, 161, 60, 56, 157, 62,
252
+ 159, 156, 17, 14, 145, nil, 48, 155, 98, 183,
253
+ nil, 51, nil, 49, 151, 92, 93, 94, 95, nil,
254
+ nil, 188, nil, 99, 40, 110, 102, 114, 129, 72,
255
+ 62, 179, 68, 157, 65, 177, 105, 171, 49, 44,
256
+ nil, nil, nil, nil, nil, 80, 134, 137, nil, nil,
257
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 131,
258
+ nil, nil, nil, nil, 142, nil, nil, nil, nil, 138,
259
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 143,
260
+ 144, nil, nil, 164, 72, nil, nil, 68, nil, 65,
261
+ nil, nil, nil, nil, nil, nil, 147, 148, 149, 150,
246
262
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
247
- nil, 165, nil, nil, nil, nil, nil, nil, nil, nil,
248
263
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
264
+ nil, nil, nil, nil, nil, nil, 185, nil, nil, nil,
265
+ nil, nil, nil, nil, nil, nil, nil, nil, 185, nil,
249
266
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
250
- nil, nil, nil, nil, nil, nil, nil, 172 ]
267
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
268
+ nil, nil, nil, nil, nil, 189 ]
251
269
 
252
270
  racc_goto_check = [
253
- 3, 11, 10, 3, 3, 22, 32, 8, 3, 7,
254
- 36, 34, 12, 27, 30, 20, 3, 38, 3, 3,
255
- 26, 24, 10, 2, 6, 19, 32, 8, 4, 7,
256
- 1, 3, 3, 3, 3, 2, 28, 38, 4, nil,
257
- 24, nil, 11, 6, nil, nil, 27, 30, 28, 26,
258
- nil, 3, 34, 12, 22, 20, 36, nil, nil, nil,
259
- nil, nil, nil, nil, nil, 3, nil, nil, nil, nil,
260
- nil, nil, nil, 10, nil, nil, nil, 32, 8, 3,
261
- 7, nil, nil, nil, nil, nil, nil, 3, nil, nil,
262
- nil, nil, nil, nil, 22, nil, nil, nil, nil, 3,
263
- 3, 3, 3, nil, nil, nil, nil, nil, nil, nil,
264
- nil, nil, nil, nil, nil, nil, 3, 3, nil, 11,
271
+ 3, 11, 3, 34, 10, 3, 3, 8, 3, 7,
272
+ 23, 3, 21, 40, 3, 42, 25, 38, 29, 6,
273
+ 32, 20, 2, 1, 27, nil, 11, 28, 23, 30,
274
+ nil, 36, nil, 12, 27, 3, 3, 3, 3, nil,
275
+ nil, 30, nil, 3, 2, 38, 3, 25, 34, 10,
276
+ 6, 42, 8, 29, 7, 32, 36, 28, 12, 4,
277
+ nil, nil, nil, nil, nil, 4, 40, 21, nil, nil,
278
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 3,
279
+ nil, nil, nil, nil, 23, nil, nil, nil, nil, 3,
280
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 3,
281
+ 3, nil, nil, 34, 10, nil, nil, 8, nil, 7,
282
+ nil, nil, nil, nil, nil, nil, 3, 3, 3, 3,
283
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
265
284
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
266
- nil, 11, nil, nil, nil, nil, nil, nil, nil, nil,
285
+ nil, nil, nil, nil, nil, nil, 11, nil, nil, nil,
286
+ nil, nil, nil, nil, nil, nil, nil, nil, 11, nil,
267
287
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
268
288
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
269
- nil, nil, nil, nil, nil, nil, nil, 3 ]
289
+ nil, nil, nil, nil, nil, 3 ]
270
290
 
271
291
  racc_goto_pointer = [
272
- nil, 30, 23, -3, -2, nil, -1, -21, -23, nil,
273
- -28, -37, -26, nil, nil, nil, nil, nil, nil, -86,
274
- -16, nil, -35, nil, -4, nil, -90, -99, -120, nil,
275
- -98, nil, -24, nil, -27, nil, -29, nil, -12, nil ]
292
+ nil, 23, 22, -1, 34, nil, -11, -22, -24, nil,
293
+ -27, -26, 6, nil, nil, nil, nil, nil, nil, nil,
294
+ -103, -22, nil, -15, nil, -14, nil, -87, -96, -107,
295
+ -143, nil, -105, nil, -28, nil, 4, nil, -12, nil,
296
+ -19, nil, -111, nil ]
276
297
 
277
298
  racc_goto_default = [
278
- nil, nil, nil, nil, nil, 12, 14, 15, 17, 20,
279
- 23, 1, 4, 8, 10, 53, 55, 56, 59, nil,
280
- nil, 71, nil, 89, nil, 44, nil, 139, nil, 168,
281
- nil, 145, nil, 50, nil, 79, nil, 85, nil, 49 ]
299
+ nil, nil, nil, nil, nil, 22, 23, 2, 4, 8,
300
+ 10, 11, 13, 16, 19, 79, 81, 83, 67, 69,
301
+ nil, nil, 89, nil, 43, nil, 61, nil, nil, 153,
302
+ nil, 184, nil, 160, nil, 76, nil, 52, nil, 57,
303
+ nil, 85, nil, 162 ]
282
304
 
283
305
  racc_token_table = {
284
306
  false => 0,
285
307
  Object.new => 1,
286
308
  :APPEND => 2,
287
- :ARCHIVE => 3,
288
- :BUILD_PREFIX => 4,
289
- :BUILD_SYSTEM => 5,
290
- :DESCRIPTION => 6,
291
- :DISABLE => 7,
292
- :ENABLE => 8,
293
- :END => 9,
294
- :ENVIRONMENT => 10,
295
- :EXTERNAL => 11,
296
- :FEATURE => 12,
297
- :FILE => 13,
298
- :GIT => 14,
299
- :GIT_SVN => 15,
300
- :HOST => 16,
301
- :INCLUDE => 17,
302
- :INHERITANCE => 18,
303
- :INPLACE => 19,
304
- :INSTALL_PREFIX => 20,
305
- :LOCAL_PATH => 21,
306
- :LOG_DIRECTORY => 22,
307
- :LONG => 23,
308
- :MODULE => 24,
309
- :OPTION => 25,
310
- :PATH => 26,
311
- :PREPEND => 27,
312
- :PROTOCOL => 28,
313
- :REMOTE => 29,
314
- :REMOTE_PATH => 30,
315
- :REPOSITORY => 31,
316
- :SERVER => 32,
317
- :SET => 33,
318
- :SHORT => 34,
319
- :SSH_KEY => 35,
320
- :STRING => 36,
321
- :TEMPLATE => 37,
322
- :TOKEN => 38,
323
- :TRACK_BRANCH => 39,
324
- :USE => 40,
325
- :USER => 41,
326
- :VAR => 42,
327
- :VCS => 43 }
309
+ :APPLY => 3,
310
+ :ARCHIVE => 4,
311
+ :BUILD_PREFIX => 5,
312
+ :BUILD_SYSTEM => 6,
313
+ :DESCRIPTION => 7,
314
+ :DISABLE => 8,
315
+ :ENABLE => 9,
316
+ :END => 10,
317
+ :ENVIRONMENT => 11,
318
+ :EXTERNAL => 12,
319
+ :FEATURE => 13,
320
+ :FILE => 14,
321
+ :GIT => 15,
322
+ :GIT_SVN => 16,
323
+ :HOST => 17,
324
+ :INCLUDE => 18,
325
+ :INHERITANCE => 19,
326
+ :INPLACE => 20,
327
+ :INSTALL_PREFIX => 21,
328
+ :LOCAL_PATH => 22,
329
+ :LOG_DIRECTORY => 23,
330
+ :LONG => 24,
331
+ :MODULE => 25,
332
+ :ONLY => 26,
333
+ :OPTION => 27,
334
+ :PATCH => 28,
335
+ :PATH => 29,
336
+ :PREPEND => 30,
337
+ :PROTOCOL => 31,
338
+ :REMOTE => 32,
339
+ :REMOTE_PATH => 33,
340
+ :REPOSITORY => 34,
341
+ :SERVER => 35,
342
+ :SET => 36,
343
+ :SHORT => 37,
344
+ :SSH_KEY => 38,
345
+ :STRING => 39,
346
+ :SVN => 40,
347
+ :TEMPLATE => 41,
348
+ :TOKEN => 42,
349
+ :TRACK_BRANCH => 43,
350
+ :USE => 44,
351
+ :USER => 45,
352
+ :VAR => 46,
353
+ :VCS => 47 }
328
354
 
329
355
  racc_use_result_var = true
330
356
 
331
- racc_nt_base = 44
357
+ racc_nt_base = 48
332
358
 
333
359
  Racc_arg = [
334
360
  racc_action_table,
@@ -350,6 +376,7 @@ Racc_token_to_s_table = [
350
376
  '$end',
351
377
  'error',
352
378
  'APPEND',
379
+ 'APPLY',
353
380
  'ARCHIVE',
354
381
  'BUILD_PREFIX',
355
382
  'BUILD_SYSTEM',
@@ -372,7 +399,9 @@ Racc_token_to_s_table = [
372
399
  'LOG_DIRECTORY',
373
400
  'LONG',
374
401
  'MODULE',
402
+ 'ONLY',
375
403
  'OPTION',
404
+ 'PATCH',
376
405
  'PATH',
377
406
  'PREPEND',
378
407
  'PROTOCOL',
@@ -384,6 +413,7 @@ Racc_token_to_s_table = [
384
413
  'SHORT',
385
414
  'SSH_KEY',
386
415
  'STRING',
416
+ 'SVN',
387
417
  'TEMPLATE',
388
418
  'TOKEN',
389
419
  'TRACK_BRANCH',
@@ -408,6 +438,7 @@ Racc_token_to_s_table = [
408
438
  'feature_declaration',
409
439
  'vcs_declaration',
410
440
  'git_declaration',
441
+ 'svn_declaration',
411
442
  'git_svn_declaration',
412
443
  'archive_declaration',
413
444
  'archive_statements',
@@ -417,6 +448,7 @@ Racc_token_to_s_table = [
417
448
  'environment_statement',
418
449
  'feature_statements',
419
450
  'feature_statement',
451
+ 'multiline_string',
420
452
  'git_statements',
421
453
  'git_statement',
422
454
  'git_remote_values',
@@ -430,7 +462,9 @@ Racc_token_to_s_table = [
430
462
  'server_statements',
431
463
  'server_statement',
432
464
  'ssh_key_statements',
433
- 'ssh_key_statement']
465
+ 'ssh_key_statement',
466
+ 'svn_statements',
467
+ 'svn_statement']
434
468
 
435
469
  Racc_debug_parser = false
436
470
 
@@ -438,28 +472,28 @@ Racc_debug_parser = false
438
472
 
439
473
  # reduce 0 omitted
440
474
 
441
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 48
475
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 52
442
476
  def _reduce_1( val, _values, result )
443
477
  result = ConfigurationFileList.new( val[0] );
444
478
  result
445
479
  end
446
480
  .,.,
447
481
 
448
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 56
482
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 60
449
483
  def _reduce_2( val, _values, result )
450
484
  result = val[0];
451
485
  result
452
486
  end
453
487
  .,.,
454
488
 
455
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 57
489
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 61
456
490
  def _reduce_3( val, _values, result )
457
491
  result = val[0];
458
492
  result
459
493
  end
460
494
  .,.,
461
495
 
462
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 61
496
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 65
463
497
  def _reduce_4( val, _values, result )
464
498
  result = :INHERITANCE;
465
499
  result
@@ -468,567 +502,627 @@ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 61
468
502
 
469
503
  # reduce 5 omitted
470
504
 
471
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 69
505
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 73
472
506
  def _reduce_6( val, _values, result )
473
507
  result = val.flatten;
474
508
  result
475
509
  end
476
510
  .,.,
477
511
 
478
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 73
512
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 77
479
513
  def _reduce_7( val, _values, result )
480
514
  result = LogDirectoryNode.new( val[1] );
481
515
  result
482
516
  end
483
517
  .,.,
484
518
 
485
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 74
519
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 78
486
520
  def _reduce_8( val, _values, result )
487
521
  result = DisableFeatureNode.new( val[2] );
488
522
  result
489
523
  end
490
524
  .,.,
491
525
 
492
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 75
526
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 79
493
527
  def _reduce_9( val, _values, result )
494
528
  result = EnableFeatureNode.new( val[2] );
495
529
  result
496
530
  end
497
531
  .,.,
498
532
 
499
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 76
533
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 80
500
534
  def _reduce_10( val, _values, result )
501
535
  result = DisableModuleNode.new( val[2] );
502
536
  result
503
537
  end
504
538
  .,.,
505
539
 
506
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 77
540
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 81
507
541
  def _reduce_11( val, _values, result )
508
542
  result = EnableModuleNode.new( val[2] );
509
543
  result
510
544
  end
511
545
  .,.,
512
546
 
513
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 78
547
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 82
514
548
  def _reduce_12( val, _values, result )
515
549
  result = val[0];
516
550
  result
517
551
  end
518
552
  .,.,
519
553
 
520
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 86
554
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 90
521
555
  def _reduce_13( val, _values, result )
522
556
  result = val[0];
523
557
  result
524
558
  end
525
559
  .,.,
526
560
 
527
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 87
561
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 91
528
562
  def _reduce_14( val, _values, result )
529
563
  result = val[0];
530
564
  result
531
565
  end
532
566
  .,.,
533
567
 
534
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 88
568
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 92
535
569
  def _reduce_15( val, _values, result )
536
570
  result = val[0];
537
571
  result
538
572
  end
539
573
  .,.,
540
574
 
541
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 89
575
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 93
542
576
  def _reduce_16( val, _values, result )
543
577
  result = val[0];
544
578
  result
545
579
  end
546
580
  .,.,
547
581
 
548
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 90
582
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 94
549
583
  def _reduce_17( val, _values, result )
550
584
  result = val[0];
551
585
  result
552
586
  end
553
587
  .,.,
554
588
 
555
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 91
589
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 95
556
590
  def _reduce_18( val, _values, result )
557
591
  result = val[0];
558
592
  result
559
593
  end
560
594
  .,.,
561
595
 
562
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 92
596
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 96
563
597
  def _reduce_19( val, _values, result )
564
598
  result = val[0];
565
599
  result
566
600
  end
567
601
  .,.,
568
602
 
569
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 93
603
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 97
570
604
  def _reduce_20( val, _values, result )
571
605
  result = val[0];
572
606
  result
573
607
  end
574
608
  .,.,
575
609
 
576
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 97
610
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 101
577
611
  def _reduce_21( val, _values, result )
578
612
  result = val[0];
579
613
  result
580
614
  end
581
615
  .,.,
582
616
 
583
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 98
617
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 102
584
618
  def _reduce_22( val, _values, result )
585
619
  result = val[0];
586
620
  result
587
621
  end
588
622
  .,.,
589
623
 
590
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 99
624
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 103
591
625
  def _reduce_23( val, _values, result )
592
626
  result = val[0];
593
627
  result
594
628
  end
595
629
  .,.,
596
630
 
597
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 106
631
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 104
598
632
  def _reduce_24( val, _values, result )
599
- result = ArchiveDeclarationNode.new( val[2] );
633
+ result = val[0];
600
634
  result
601
635
  end
602
636
  .,.,
603
637
 
604
- # reduce 25 omitted
605
-
606
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 121
607
- def _reduce_26( val, _values, result )
608
- result = BuildSystemDeclarationNode.new( val[1,2] );
638
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 111
639
+ def _reduce_25( val, _values, result )
640
+ result = ArchiveDeclarationNode.new( val[2] );
609
641
  result
610
642
  end
611
643
  .,.,
612
644
 
613
- # reduce 27 omitted
645
+ # reduce 26 omitted
614
646
 
615
647
  module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 126
616
- def _reduce_28( val, _values, result )
617
- result = val.flatten;
648
+ def _reduce_27( val, _values, result )
649
+ result = BuildSystemDeclarationNode.new( val[1,2] );
618
650
  result
619
651
  end
620
652
  .,.,
621
653
 
622
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 130
654
+ # reduce 28 omitted
655
+
656
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 131
623
657
  def _reduce_29( val, _values, result )
624
- result = BuildSystemOptionNode.new( val[1,2] );
658
+ result = val.flatten;
625
659
  result
626
660
  end
627
661
  .,.,
628
662
 
629
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 131
663
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 135
630
664
  def _reduce_30( val, _values, result )
631
- result = BuildSystemInplaceNode.new();
665
+ result = BuildSystemOptionNode.new( val[1,2] );
632
666
  result
633
667
  end
634
668
  .,.,
635
669
 
636
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 138
670
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 136
637
671
  def _reduce_31( val, _values, result )
638
- result = EnvironmentDeclarationNode.new( val[1..-1] );
672
+ result = BuildSystemInplaceNode.new();
639
673
  result
640
674
  end
641
675
  .,.,
642
676
 
643
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 139
677
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 143
644
678
  def _reduce_32( val, _values, result )
645
679
  result = EnvironmentDeclarationNode.new( val[1..-1] );
646
680
  result
647
681
  end
648
682
  .,.,
649
683
 
650
- # reduce 33 omitted
651
-
652
684
  module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 144
653
- def _reduce_34( val, _values, result )
654
- result = val.flatten;
685
+ def _reduce_33( val, _values, result )
686
+ result = EnvironmentDeclarationNode.new( val[1..-1] );
655
687
  result
656
688
  end
657
689
  .,.,
658
690
 
659
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 148
691
+ # reduce 34 omitted
692
+
693
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 149
660
694
  def _reduce_35( val, _values, result )
661
- result = EnvironmentVariableNode.new( val[1..-1] );
695
+ result = val.flatten;
662
696
  result
663
697
  end
664
698
  .,.,
665
699
 
666
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 149
700
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 153
667
701
  def _reduce_36( val, _values, result )
668
702
  result = EnvironmentVariableNode.new( val[1..-1] );
669
703
  result
670
704
  end
671
705
  .,.,
672
706
 
673
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 150
707
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 154
674
708
  def _reduce_37( val, _values, result )
675
709
  result = EnvironmentVariableNode.new( val[1..-1] );
676
710
  result
677
711
  end
678
712
  .,.,
679
713
 
680
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 157
714
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 155
681
715
  def _reduce_38( val, _values, result )
682
- result = FeatureNode.new( val[1..-2] )
716
+ result = EnvironmentVariableNode.new( val[1..-1] );
683
717
  result
684
718
  end
685
719
  .,.,
686
720
 
687
- # reduce 39 omitted
688
-
689
721
  module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 162
690
- def _reduce_40( val, _values, result )
691
- result = val.flatten;
722
+ def _reduce_39( val, _values, result )
723
+ result = FeatureNode.new( val[1..-2] )
692
724
  result
693
725
  end
694
726
  .,.,
695
727
 
696
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 166
728
+ # reduce 40 omitted
729
+
730
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 167
697
731
  def _reduce_41( val, _values, result )
698
732
  result = val.flatten;
699
733
  result
700
734
  end
701
735
  .,.,
702
736
 
703
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 167
737
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 171
704
738
  def _reduce_42( val, _values, result )
705
- result = LongDescriptionNode.new( val[2] );
739
+ result = val.flatten;
706
740
  result
707
741
  end
708
742
  .,.,
709
743
 
710
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 168
744
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 172
711
745
  def _reduce_43( val, _values, result )
712
- result = ShortDescriptionNode.new( val[2] );
746
+ result = LongDescriptionNode.new( val[2] );
713
747
  result
714
748
  end
715
749
  .,.,
716
750
 
717
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 175
751
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 173
718
752
  def _reduce_44( val, _values, result )
753
+ result = ShortDescriptionNode.new( val[2] );
754
+ result
755
+ end
756
+ .,.,
757
+
758
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 180
759
+ def _reduce_45( val, _values, result )
719
760
  result = GitDeclarationNode.new( val[2] );
720
761
  result
721
762
  end
722
763
  .,.,
723
764
 
724
- # reduce 45 omitted
765
+ # reduce 46 omitted
725
766
 
726
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 180
727
- def _reduce_46( val, _values, result )
767
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 185
768
+ def _reduce_47( val, _values, result )
728
769
  result = val.flatten;
729
770
  result
730
771
  end
731
772
  .,.,
732
773
 
733
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 184
734
- def _reduce_47( val, _values, result )
774
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 189
775
+ def _reduce_48( val, _values, result )
735
776
  result = GitRemoteNode.new( [ val[1], GitRemoteValueList.new( val[2] ) ] );
736
777
  result
737
778
  end
738
779
  .,.,
739
780
 
740
- # reduce 48 omitted
781
+ # reduce 49 omitted
741
782
 
742
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 189
743
- def _reduce_49( val, _values, result )
783
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 194
784
+ def _reduce_50( val, _values, result )
744
785
  result = val.flatten;
745
786
  result
746
787
  end
747
788
  .,.,
748
789
 
749
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 193
750
- def _reduce_50( val, _values, result )
790
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 198
791
+ def _reduce_51( val, _values, result )
751
792
  result = val[0];
752
793
  result
753
794
  end
754
795
  .,.,
755
796
 
756
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 194
757
- def _reduce_51( val, _values, result )
797
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 199
798
+ def _reduce_52( val, _values, result )
758
799
  result = UseServerNode.new( val[2] );
759
800
  result
760
801
  end
761
802
  .,.,
762
803
 
763
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 201
764
- def _reduce_52( val, _values, result )
804
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 206
805
+ def _reduce_53( val, _values, result )
765
806
  result = GitSvnDeclarationNode.new( val[2] );
766
807
  result
767
808
  end
768
809
  .,.,
769
810
 
770
- # reduce 53 omitted
811
+ # reduce 54 omitted
771
812
 
772
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 206
773
- def _reduce_54( val, _values, result )
813
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 211
814
+ def _reduce_55( val, _values, result )
774
815
  result = val.flatten;
775
816
  result
776
817
  end
777
818
  .,.,
778
819
 
779
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 210
780
- def _reduce_55( val, _values, result )
820
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 215
821
+ def _reduce_56( val, _values, result )
781
822
  result = val[0];
782
823
  result
783
824
  end
784
825
  .,.,
785
826
 
786
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 211
787
- def _reduce_56( val, _values, result )
827
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 216
828
+ def _reduce_57( val, _values, result )
788
829
  result = GitSvnExternalNode.new( val[1] );
789
830
  result
790
831
  end
791
832
  .,.,
792
833
 
793
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 218
794
- def _reduce_57( val, _values, result )
834
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 223
835
+ def _reduce_58( val, _values, result )
795
836
  result = IncludeNode.new( val[1] )
796
837
  result
797
838
  end
798
839
  .,.,
799
840
 
800
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 225
801
- def _reduce_58( val, _values, result )
841
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 230
842
+ def _reduce_59( val, _values, result )
802
843
  result = ModuleDeclarationNode.new( val[1..-1] );
803
844
  result
804
845
  end
805
846
  .,.,
806
847
 
807
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 226
808
- def _reduce_59( val, _values, result )
848
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 231
849
+ def _reduce_60( val, _values, result )
809
850
  result = ModuleDeclarationNode.new( val[1..-1] );
810
851
  result
811
852
  end
812
853
  .,.,
813
854
 
814
- # reduce 60 omitted
855
+ # reduce 61 omitted
815
856
 
816
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 231
817
- def _reduce_61( val, _values, result )
857
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 236
858
+ def _reduce_62( val, _values, result )
818
859
  result = val.flatten;
819
860
  result
820
861
  end
821
862
  .,.,
822
863
 
823
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 235
824
- def _reduce_62( val, _values, result )
864
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 240
865
+ def _reduce_63( val, _values, result )
825
866
  result = UseBuildSystemNode.new( val[2] );
826
867
  result
827
868
  end
828
869
  .,.,
829
870
 
830
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 236
831
- def _reduce_63( val, _values, result )
871
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 241
872
+ def _reduce_64( val, _values, result )
832
873
  result = UseEnvironmentNode.new( val[2] );
833
874
  result
834
875
  end
835
876
  .,.,
836
877
 
837
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 237
838
- def _reduce_64( val, _values, result )
878
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 242
879
+ def _reduce_65( val, _values, result )
839
880
  result = UseRepositoryNode.new( val[2] );
840
881
  result
841
882
  end
842
883
  .,.,
843
884
 
844
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 238
845
- def _reduce_65( val, _values, result )
885
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 243
886
+ def _reduce_66( val, _values, result )
846
887
  result = UseVcsNode.new( val[2] );
847
888
  result
848
889
  end
849
890
  .,.,
850
891
 
851
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 239
852
- def _reduce_66( val, _values, result )
892
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 244
893
+ def _reduce_67( val, _values, result )
894
+ result = LongDescriptionNode.new( val[2] );
895
+ result
896
+ end
897
+ .,.,
898
+
899
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 245
900
+ def _reduce_68( val, _values, result )
901
+ result = ShortDescriptionNode.new( val[1] );
902
+ result
903
+ end
904
+ .,.,
905
+
906
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 246
907
+ def _reduce_69( val, _values, result )
853
908
  result = val[0];
854
909
  result
855
910
  end
856
911
  .,.,
857
912
 
858
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 240
859
- def _reduce_67( val, _values, result )
913
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 247
914
+ def _reduce_70( val, _values, result )
860
915
  result = val[0];
861
916
  result
862
917
  end
863
918
  .,.,
864
919
 
865
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 241
866
- def _reduce_68( val, _values, result )
920
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 248
921
+ def _reduce_71( val, _values, result )
867
922
  result = val[0];
868
923
  result
869
924
  end
870
925
  .,.,
871
926
 
872
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 242
873
- def _reduce_69( val, _values, result )
927
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 249
928
+ def _reduce_72( val, _values, result )
874
929
  result = val[0];
875
930
  result
876
931
  end
877
932
  .,.,
878
933
 
879
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 243
880
- def _reduce_70( val, _values, result )
934
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 250
935
+ def _reduce_73( val, _values, result )
881
936
  result = ModuleInstallPrefixNode.new( val[1] );
882
937
  result
883
938
  end
884
939
  .,.,
885
940
 
886
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 244
887
- def _reduce_71( val, _values, result )
941
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 251
942
+ def _reduce_74( val, _values, result )
888
943
  result = ModuleBuildPrefixNode.new( val[1] );
889
944
  result
890
945
  end
891
946
  .,.,
892
947
 
893
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 245
894
- def _reduce_72( val, _values, result )
948
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 252
949
+ def _reduce_75( val, _values, result )
895
950
  result = ModuleRemotePathNode.new( val[1] );
896
951
  result
897
952
  end
898
953
  .,.,
899
954
 
900
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 246
901
- def _reduce_73( val, _values, result )
955
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 253
956
+ def _reduce_76( val, _values, result )
902
957
  result = ModuleLocalPathNode.new( val[1] );
903
958
  result
904
959
  end
905
960
  .,.,
906
961
 
907
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 247
908
- def _reduce_74( val, _values, result )
962
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 254
963
+ def _reduce_77( val, _values, result )
909
964
  result = ModuleTemplateNode.new();
910
965
  result
911
966
  end
912
967
  .,.,
913
968
 
914
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 254
915
- def _reduce_75( val, _values, result )
969
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 255
970
+ def _reduce_78( val, _values, result )
971
+ result = ApplyPatchesNode.new(val[2]);
972
+ result
973
+ end
974
+ .,.,
975
+
976
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 262
977
+ def _reduce_79( val, _values, result )
916
978
  result = RepositoryDeclarationNode.new( val[1..-1] );
917
979
  result
918
980
  end
919
981
  .,.,
920
982
 
921
- # reduce 76 omitted
983
+ # reduce 80 omitted
922
984
 
923
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 259
924
- def _reduce_77( val, _values, result )
985
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 267
986
+ def _reduce_81( val, _values, result )
925
987
  result = val.flatten();
926
988
  result
927
989
  end
928
990
  .,.,
929
991
 
930
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 263
931
- def _reduce_78( val, _values, result )
992
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 271
993
+ def _reduce_82( val, _values, result )
932
994
  result = RepositoryPathNode.new( val[1] );
933
995
  result
934
996
  end
935
997
  .,.,
936
998
 
937
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 264
938
- def _reduce_79( val, _values, result )
999
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 272
1000
+ def _reduce_83( val, _values, result )
939
1001
  result = RepositoryUserNode.new( val[1] );
940
1002
  result
941
1003
  end
942
1004
  .,.,
943
1005
 
944
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 265
945
- def _reduce_80( val, _values, result )
1006
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 273
1007
+ def _reduce_84( val, _values, result )
946
1008
  result = UseSshKeyNode.new( val[2] );
947
1009
  result
948
1010
  end
949
1011
  .,.,
950
1012
 
951
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 266
952
- def _reduce_81( val, _values, result )
1013
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 274
1014
+ def _reduce_85( val, _values, result )
953
1015
  result = UseServerNode.new( val[2] );
954
1016
  result
955
1017
  end
956
1018
  .,.,
957
1019
 
958
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 267
959
- def _reduce_82( val, _values, result )
1020
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 275
1021
+ def _reduce_86( val, _values, result )
960
1022
  result = val[0];
961
1023
  result
962
1024
  end
963
1025
  .,.,
964
1026
 
965
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 268
966
- def _reduce_83( val, _values, result )
1027
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 276
1028
+ def _reduce_87( val, _values, result )
967
1029
  result = val[0];
968
1030
  result
969
1031
  end
970
1032
  .,.,
971
1033
 
972
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 275
973
- def _reduce_84( val, _values, result )
1034
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 283
1035
+ def _reduce_88( val, _values, result )
974
1036
  result = ServerDeclarationNode.new( [ val[1], ServerStatementList.new( val[2] ) ] );
975
1037
  result
976
1038
  end
977
1039
  .,.,
978
1040
 
979
- # reduce 85 omitted
1041
+ # reduce 89 omitted
980
1042
 
981
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 280
982
- def _reduce_86( val, _values, result )
1043
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 288
1044
+ def _reduce_90( val, _values, result )
983
1045
  result = val.flatten;
984
1046
  result
985
1047
  end
986
1048
  .,.,
987
1049
 
988
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 284
989
- def _reduce_87( val, _values, result )
1050
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 292
1051
+ def _reduce_91( val, _values, result )
990
1052
  result = ServerHostNode.new( val[1] );
991
1053
  result
992
1054
  end
993
1055
  .,.,
994
1056
 
995
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 285
996
- def _reduce_88( val, _values, result )
1057
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 293
1058
+ def _reduce_92( val, _values, result )
997
1059
  result = ServerProtocolNode.new( val[1] );
998
1060
  result
999
1061
  end
1000
1062
  .,.,
1001
1063
 
1002
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 286
1003
- def _reduce_89( val, _values, result )
1064
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 294
1065
+ def _reduce_93( val, _values, result )
1004
1066
  result = ServerPathNode.new( val[1] );
1005
1067
  result
1006
1068
  end
1007
1069
  .,.,
1008
1070
 
1009
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 293
1010
- def _reduce_90( val, _values, result )
1071
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 301
1072
+ def _reduce_94( val, _values, result )
1011
1073
  result = SshKeyDeclarationNode.new( val[1..-1] );
1012
1074
  result
1013
1075
  end
1014
1076
  .,.,
1015
1077
 
1016
- # reduce 91 omitted
1078
+ # reduce 95 omitted
1017
1079
 
1018
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 298
1019
- def _reduce_92( val, _values, result )
1080
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 306
1081
+ def _reduce_96( val, _values, result )
1020
1082
  result = val.flatten;
1021
1083
  result
1022
1084
  end
1023
1085
  .,.,
1024
1086
 
1025
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 302
1026
- def _reduce_93( val, _values, result )
1087
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 310
1088
+ def _reduce_97( val, _values, result )
1027
1089
  result = SshKeyFileNode.new( val[1] );
1028
1090
  result
1029
1091
  end
1030
1092
  .,.,
1031
1093
 
1094
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 317
1095
+ def _reduce_98( val, _values, result )
1096
+ result = SvnDeclarationNode.new( val[2] );
1097
+ result
1098
+ end
1099
+ .,.,
1100
+
1101
+ # reduce 99 omitted
1102
+
1103
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 322
1104
+ def _reduce_100( val, _values, result )
1105
+ result = val.flatten;
1106
+ result
1107
+ end
1108
+ .,.,
1109
+
1110
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 326
1111
+ def _reduce_101( val, _values, result )
1112
+ result = SvnCheckoutOnlyNode.new(val[1]);
1113
+ result
1114
+ end
1115
+ .,.,
1116
+
1117
+ # reduce 102 omitted
1118
+
1119
+ module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 334
1120
+ def _reduce_103( val, _values, result )
1121
+ result = val[0] ? val[0] + "\n" + val[1] : val[1];
1122
+ result
1123
+ end
1124
+ .,.,
1125
+
1032
1126
  def _reduce_none( val, _values, result )
1033
1127
  result
1034
1128
  end