nasl 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/.gitignore +9 -0
  2. data/Gemfile +4 -0
  3. data/Rakefile +8 -0
  4. data/bin/nasl-parse +33 -0
  5. data/lib/nasl/cli.rb +94 -0
  6. data/lib/nasl/command.rb +96 -0
  7. data/lib/nasl/commands/benchmark.rb +55 -0
  8. data/lib/nasl/commands/parse.rb +55 -0
  9. data/lib/nasl/commands/test.rb +37 -0
  10. data/lib/nasl/commands/tokenize.rb +46 -0
  11. data/lib/nasl/commands/xml.rb +41 -0
  12. data/lib/nasl/context.rb +102 -0
  13. data/lib/nasl/grammar.racc +513 -0
  14. data/lib/nasl/grammar.tab.rb +1650 -0
  15. data/lib/nasl/parser/argument.rb +50 -0
  16. data/lib/nasl/parser/assigment.rb +45 -0
  17. data/lib/nasl/parser/block.rb +41 -0
  18. data/lib/nasl/parser/break.rb +32 -0
  19. data/lib/nasl/parser/call.rb +48 -0
  20. data/lib/nasl/parser/continue.rb +32 -0
  21. data/lib/nasl/parser/decrement.rb +48 -0
  22. data/lib/nasl/parser/empty.rb +32 -0
  23. data/lib/nasl/parser/export.rb +41 -0
  24. data/lib/nasl/parser/expression.rb +56 -0
  25. data/lib/nasl/parser/for.rb +47 -0
  26. data/lib/nasl/parser/foreach.rb +45 -0
  27. data/lib/nasl/parser/function.rb +45 -0
  28. data/lib/nasl/parser/global.rb +41 -0
  29. data/lib/nasl/parser/identifier.rb +43 -0
  30. data/lib/nasl/parser/if.rb +45 -0
  31. data/lib/nasl/parser/import.rb +41 -0
  32. data/lib/nasl/parser/include.rb +41 -0
  33. data/lib/nasl/parser/increment.rb +48 -0
  34. data/lib/nasl/parser/integer.rb +70 -0
  35. data/lib/nasl/parser/ip.rb +43 -0
  36. data/lib/nasl/parser/local.rb +41 -0
  37. data/lib/nasl/parser/lvalue.rb +43 -0
  38. data/lib/nasl/parser/node.rb +73 -0
  39. data/lib/nasl/parser/repeat.rb +43 -0
  40. data/lib/nasl/parser/repetition.rb +43 -0
  41. data/lib/nasl/parser/return.rb +41 -0
  42. data/lib/nasl/parser/string.rb +48 -0
  43. data/lib/nasl/parser/tree.rb +59 -0
  44. data/lib/nasl/parser/undefined.rb +35 -0
  45. data/lib/nasl/parser/while.rb +43 -0
  46. data/lib/nasl/parser.rb +45 -0
  47. data/lib/nasl/test.rb +98 -0
  48. data/lib/nasl/token.rb +69 -0
  49. data/lib/nasl/tokenizer.rb +327 -0
  50. data/lib/nasl/version.rb +3 -0
  51. data/lib/nasl.rb +52 -0
  52. data/nasl.gemspec +26 -0
  53. data/test/test_helper.rb +6 -0
  54. data/test/unit/parser/test_assignment.rb +111 -0
  55. data/test/unit/parser/test_blank.rb +44 -0
  56. data/test/unit/parser/test_block.rb +35 -0
  57. data/test/unit/parser/test_constant.rb +65 -0
  58. data/test/unit/parser/test_empty.rb +36 -0
  59. data/test/unit/parser/test_expressions.rb +57 -0
  60. data/test/unit/parser/test_function.rb +82 -0
  61. data/test/unit/parser/test_if.rb +85 -0
  62. data/test/unit/parser/test_include.rb +37 -0
  63. data/test/unit/parser/test_incr_decr.rb +51 -0
  64. data/test/unit/parser/test_ip.rb +33 -0
  65. data/test/unit/parser/test_return.rb +51 -0
  66. data/test/unit/parser/test_string.rb +46 -0
  67. data/test/unit/parser/test_whitespace.rb +56 -0
  68. data/test/unit/test_context.rb +240 -0
  69. data/test/unit/tokenizer/test_empty.rb +53 -0
  70. data/test/unit/tokenizer/test_integer.rb +68 -0
  71. data/test/unit/tokenizer/test_string.rb +94 -0
  72. metadata +161 -0
@@ -0,0 +1,1650 @@
1
+ #
2
+ # DO NOT MODIFY!!!!
3
+ # This file is automatically generated by Racc 1.4.7
4
+ # from Racc grammer file "".
5
+ #
6
+
7
+ require 'racc/parser.rb'
8
+
9
+
10
+ require 'nasl/parser/tree'
11
+
12
+ require 'nasl/parser/argument'
13
+ require 'nasl/parser/assigment'
14
+ require 'nasl/parser/block'
15
+ require 'nasl/parser/break'
16
+ require 'nasl/parser/call'
17
+ require 'nasl/parser/continue'
18
+ require 'nasl/parser/decrement'
19
+ require 'nasl/parser/empty'
20
+ require 'nasl/parser/export'
21
+ require 'nasl/parser/expression'
22
+ require 'nasl/parser/for'
23
+ require 'nasl/parser/foreach'
24
+ require 'nasl/parser/function'
25
+ require 'nasl/parser/global'
26
+ require 'nasl/parser/identifier'
27
+ require 'nasl/parser/if'
28
+ require 'nasl/parser/import'
29
+ require 'nasl/parser/include'
30
+ require 'nasl/parser/increment'
31
+ require 'nasl/parser/integer'
32
+ require 'nasl/parser/ip'
33
+ require 'nasl/parser/local'
34
+ require 'nasl/parser/lvalue'
35
+ require 'nasl/parser/repeat'
36
+ require 'nasl/parser/repetition'
37
+ require 'nasl/parser/return'
38
+ require 'nasl/parser/string'
39
+ require 'nasl/parser/undefined'
40
+ require 'nasl/parser/while'
41
+
42
+ module Nasl
43
+ class Grammar < Racc::Parser
44
+
45
+ module_eval(<<'...end grammar.racc/module_eval...', 'grammar.racc', 483)
46
+
47
+ def n(cls, *args)
48
+ begin
49
+ Nasl.const_get(cls).new(@tree, *args)
50
+ rescue
51
+ puts "An exception occurred during the creation of a #{cls} instance."
52
+ puts
53
+ puts "The arguments passed to the constructer were:"
54
+ puts args
55
+ puts
56
+ puts @tok.last.context
57
+ puts
58
+ raise
59
+ end
60
+ end
61
+
62
+ def on_error(type, value, stack)
63
+ raise ParseException, "The language's grammar does not permit #{value.name} to appear here", value.context
64
+ end
65
+
66
+ def next_token
67
+ @tok = @tkz.get_token
68
+ end
69
+
70
+ def parse(env, code, path)
71
+ @tree = Tree.new(env)
72
+ @tkz = Tokenizer.new(code, path)
73
+ @tree.concat(do_parse)
74
+ end
75
+
76
+ ...end grammar.racc/module_eval...
77
+ ##### State transition tables begin ###
78
+
79
+ clist = [
80
+ '128,127,145,146,147,148,149,150,141,142,143,144,137,136,135,138,139',
81
+ '140,129,130,131,133,134,75,51,50,132,74,183,76,53,51,50,53,75,73,53',
82
+ '53,74,228,76,53,51,50,53,52,73,227,52,226,60,52,52,132,223,53,52,61',
83
+ '68,52,85,86,87,88,89,112,90,91,92,112,52,85,86,87,88,89,75,90,91,92',
84
+ '74,53,76,132,51,50,75,114,73,220,74,114,76,53,51,50,52,53,73,85,86,87',
85
+ '88,89,132,51,50,53,52,90,91,42,52,85,86,87,88,89,53,90,91,92,52,85,86',
86
+ '87,88,89,75,90,91,92,74,52,76,224,51,50,75,53,73,53,74,53,76,222,51',
87
+ '50,221,53,73,131,133,134,52,96,52,132,52,53,90,91,98,100,52,85,86,87',
88
+ '88,89,215,90,91,92,52,85,86,87,88,89,75,90,91,92,74,132,76,132,51,50',
89
+ '75,132,73,118,74,119,76,121,51,50,122,53,73,138,139,140,129,130,131',
90
+ '133,134,53,125,229,132,67,52,85,86,87,88,89,66,90,91,92,52,85,86,87',
91
+ '88,89,75,90,91,92,74,155,76,63,51,50,75,62,73,156,74,59,76,114,51,50',
92
+ '42,53,73,163,129,130,131,133,134,165,58,53,132,114,243,188,52,85,86',
93
+ '87,88,89,244,90,91,92,52,85,86,87,88,89,75,90,91,92,74,10,76,54,51,50',
94
+ '75,187,73,248,74,132,76,,51,50,,53,73,,129,130,131,133,134,,,53,132',
95
+ ',,,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76',
96
+ ',51,50,75,,73,,74,,76,,51,50,,53,73,,129,130,131,133,134,,,53,132,,',
97
+ ',52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,,51',
98
+ '50,,75,73,,71,74,,76,,51,50,53,,73,131,133,134,,,,132,,53,,,,52,85,86',
99
+ '87,88,89,,90,91,92,,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,',
100
+ '73,178,74,,76,,51,50,,53,73,85,86,87,88,89,,,,53,,,,,52,85,86,87,88',
101
+ '89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74',
102
+ ',76,,51,50,,53,73,85,86,87,88,89,,,,53,,,,,52,85,86,87,88,89,,90,91',
103
+ '92,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74,,76,,51,50',
104
+ ',53,73,,,,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89',
105
+ '75,90,91,92,74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73,,,,,,,,,53,,',
106
+ ',,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,',
107
+ '51,50,75,,73,,74,,76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87,88,89',
108
+ ',90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74,,76',
109
+ ',51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86,87',
110
+ '88,89,75,90,91,92,74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73,,,,,,,',
111
+ ',53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74',
112
+ ',76,,51,50,75,,73,,74,,76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87,88',
113
+ '89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74',
114
+ ',76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86',
115
+ '87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73,,,,',
116
+ ',,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92',
117
+ '74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87',
118
+ '88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,',
119
+ '74,,76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85',
120
+ '86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73,',
121
+ ',,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91',
122
+ '92,74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86',
123
+ '87,88,89,,90,91,92,52,85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73',
124
+ ',74,,76,,51,50,,53,73,,,,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52',
125
+ '85,86,87,88,89,75,90,91,92,74,,76,,51,50,75,,73,,74,,76,,51,50,,53,73',
126
+ ',,,,,,,,53,,,,,52,85,86,87,88,89,,90,91,92,52,85,86,87,88,89,,90,91',
127
+ '92,101,102,103,104,105,106,109,108,107,101,102,103,104,105,106,109,108',
128
+ '107,137,136,135,138,139,140,129,130,131,133,134,,,,132,,,,111,110,,',
129
+ ',,,,,111,110,128,127,145,146,147,148,149,150,141,142,143,144,137,136',
130
+ '135,138,139,140,129,130,131,133,134,,,,132,,,,,,,126,128,127,145,146',
131
+ '147,148,149,150,141,142,143,144,137,136,135,138,139,140,129,130,131',
132
+ '133,134,,,,132,,,,,,,241,128,127,145,146,147,148,149,150,141,142,143',
133
+ '144,137,136,135,138,139,140,129,130,131,133,134,,,,132,,,,,,,233,128',
134
+ '127,145,146,147,148,149,150,141,142,143,144,137,136,135,138,139,140',
135
+ '129,130,131,133,134,,,,132,,,,,,,185,128,127,145,146,147,148,149,150',
136
+ '141,142,143,144,137,136,135,138,139,140,129,130,131,133,134,,,,132,',
137
+ ',,,,213,128,127,145,146,147,148,149,150,141,142,143,144,137,136,135',
138
+ '138,139,140,129,130,131,133,134,,,,132,,,,,,217,128,127,145,146,147',
139
+ '148,149,150,141,142,143,144,137,136,135,138,139,140,129,130,131,133',
140
+ '134,,,,132,,,,,,219,128,127,145,146,147,148,149,150,141,142,143,144',
141
+ '137,136,135,138,139,140,129,130,131,133,134,,,,132,51,50,,,,231,35,31',
142
+ '33,36,38,39,40,53,41,42,,43,44,45,,46,,47,51,50,,,52,,35,31,33,36,38',
143
+ '39,40,53,41,42,94,43,44,45,,46,,47,51,50,,,52,,35,31,33,36,38,39,40',
144
+ '53,41,42,,43,44,45,,46,,47,51,50,,,52,,35,31,33,36,38,39,40,53,41,42',
145
+ ',43,44,45,,46,,47,51,50,,,52,,35,31,33,36,38,39,40,53,41,42,,43,44,45',
146
+ ',46,,47,51,50,,,52,,35,31,33,36,38,39,40,53,41,42,,43,44,45,,46,,47',
147
+ '51,50,9,10,52,,35,31,33,36,38,39,40,53,41,42,,43,44,45,,46,,47,51,50',
148
+ ',,52,,35,31,33,36,38,39,40,53,41,42,,43,44,45,,46,,47,51,50,9,10,52',
149
+ ',35,31,33,36,38,39,40,53,41,42,,43,44,45,,46,,47,51,50,,,52,,35,31,33',
150
+ '36,38,39,40,53,41,42,,43,44,45,,46,,47,,,,,52,128,127,145,146,147,148',
151
+ '149,150,141,142,143,144,137,136,135,138,139,140,129,130,131,133,134',
152
+ ',,,132,128,127,145,146,147,148,149,150,141,142,143,144,137,136,135,138',
153
+ '139,140,129,130,131,133,134,,,,132,128,127,145,146,147,148,149,150,141',
154
+ '142,143,144,137,136,135,138,139,140,129,130,131,133,134,,,,132,128,127',
155
+ '145,146,147,148,149,150,141,142,143,144,137,136,135,138,139,140,129',
156
+ '130,131,133,134,,,,132,128,127,145,146,147,148,149,150,141,142,143,144',
157
+ '137,136,135,138,139,140,129,130,131,133,134,,,,132,128,127,145,146,147',
158
+ '148,149,150,141,142,143,144,137,136,135,138,139,140,129,130,131,133',
159
+ '134,,,,132,128,127,145,146,147,148,149,150,141,142,143,144,137,136,135',
160
+ '138,139,140,129,130,131,133,134,,,,132,128,127,145,146,147,148,149,150',
161
+ '141,142,143,144,137,136,135,138,139,140,129,130,131,133,134,,,,132,128',
162
+ '127,145,146,147,148,149,150,141,142,143,144,137,136,135,138,139,140',
163
+ '129,130,131,133,134,,,,132,128,127,145,146,147,148,149,150,141,142,143',
164
+ '144,137,136,135,138,139,140,129,130,131,133,134,,,,132,128,127,145,146',
165
+ '147,148,149,150,141,142,143,144,137,136,135,138,139,140,129,130,131',
166
+ '133,134,,,,132,127,145,146,147,148,149,150,141,142,143,144,137,136,135',
167
+ '138,139,140,129,130,131,133,134,,,,132,145,146,147,148,149,150,141,142',
168
+ '143,144,137,136,135,138,139,140,129,130,131,133,134,,,,132,137,136,135',
169
+ '138,139,140,129,130,131,133,134,,,,132,137,136,135,138,139,140,129,130',
170
+ '131,133,134,,,,132,137,136,135,138,139,140,129,130,131,133,134,,,,132',
171
+ '137,136,135,138,139,140,129,130,131,133,134,,,,132,137,136,135,138,139',
172
+ '140,129,130,131,133,134,,,,132,137,136,135,138,139,140,129,130,131,133',
173
+ '134,,,,132,137,136,135,138,139,140,129,130,131,133,134,,,,132,137,136',
174
+ '135,138,139,140,129,130,131,133,134,,,,132,137,136,135,138,139,140,129',
175
+ '130,131,133,134,,,,132,136,135,138,139,140,129,130,131,133,134,,,,132',
176
+ '135,138,139,140,129,130,131,133,134,,,,132' ]
177
+ racc_action_table = arr = Array.new(2341, nil)
178
+ idx = 0
179
+ clist.each do |str|
180
+ str.split(',', -1).each do |i|
181
+ arr[idx] = i.to_i unless i.empty?
182
+ idx += 1
183
+ end
184
+ end
185
+
186
+ clist = [
187
+ '181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181',
188
+ '181,181,181,181,181,181,149,96,96,181,149,119,149,51,149,149,50,129',
189
+ '149,119,96,129,188,129,226,129,129,149,51,129,187,50,184,32,119,96,193',
190
+ '181,129,226,32,39,149,149,149,149,149,149,49,149,149,149,176,129,129',
191
+ '129,129,129,129,128,129,129,129,128,40,128,195,128,128,127,49,128,176',
192
+ '127,176,127,10,127,127,40,128,127,155,155,155,155,155,196,241,241,127',
193
+ '10,67,67,183,128,128,128,128,128,128,241,128,128,128,127,127,127,127',
194
+ '127,127,133,127,127,127,133,241,133,182,133,133,222,36,133,44,222,122',
195
+ '222,180,222,222,177,133,222,191,191,191,36,43,44,191,122,222,68,68,45',
196
+ '47,133,133,133,133,133,133,158,133,133,133,222,222,222,222,222,222,220',
197
+ '222,222,222,220,154,220,153,220,220,134,152,220,54,134,57,134,64,134',
198
+ '134,65,220,134,197,197,197,197,197,197,197,197,134,69,214,197,38,220',
199
+ '220,220,220,220,220,37,220,220,220,134,134,134,134,134,134,135,134,134',
200
+ '134,135,83,135,34,135,135,136,33,135,93,136,31,136,223,136,136,224,135',
201
+ '136,97,202,202,202,202,202,99,30,136,202,116,232,124,135,135,135,135',
202
+ '135,135,240,135,135,135,136,136,136,136,136,136,137,136,136,136,137',
203
+ '9,137,1,137,137,215,123,137,245,215,194,215,,215,215,,137,215,,200,200',
204
+ '200,200,200,,,215,200,,,,137,137,137,137,137,137,,137,137,137,215,215',
205
+ '215,215,215,215,132,215,215,215,132,,132,,132,132,131,,132,,131,,131',
206
+ ',131,131,,132,131,,201,201,201,201,201,,,131,201,,,,132,132,132,132',
207
+ '132,132,,132,132,132,131,131,131,131,131,131,41,131,131,131,41,,41,',
208
+ '41,41,,114,41,,41,114,,114,,114,114,41,,114,192,192,192,,,,192,,114',
209
+ ',,,41,41,41,41,41,41,,41,41,41,,114,114,114,114,114,114,112,114,114',
210
+ '114,112,,112,,112,112,165,,112,112,165,,165,,165,165,,112,165,244,244',
211
+ '244,244,244,,,,165,,,,,112,112,112,112,112,112,,112,112,112,165,165',
212
+ '165,165,165,165,109,165,165,165,109,,109,,109,109,108,,109,,108,,108',
213
+ ',108,108,,109,108,229,229,229,229,229,,,,108,,,,,109,109,109,109,109',
214
+ '109,,109,109,109,108,108,108,108,108,108,163,108,108,108,163,,163,,163',
215
+ '163,102,,163,,102,,102,,102,102,,163,102,,,,,,,,,102,,,,,163,163,163',
216
+ '163,163,163,,163,163,163,102,102,102,102,102,102,107,102,102,102,107',
217
+ ',107,,107,107,150,,107,,150,,150,,150,150,,107,150,,,,,,,,,150,,,,,107',
218
+ '107,107,107,107,107,,107,107,107,150,150,150,150,150,150,130,150,150',
219
+ '150,130,,130,,130,130,101,,130,,101,,101,,101,101,,130,101,,,,,,,,,101',
220
+ ',,,,130,130,130,130,130,130,,130,130,130,101,101,101,101,101,101,147',
221
+ '101,101,101,147,,147,,147,147,61,,147,,61,,61,,61,61,,147,61,,,,,,,',
222
+ ',61,,,,,147,147,147,147,147,147,,147,147,147,61,61,61,61,61,61,146,61',
223
+ '61,61,146,,146,,146,146,145,,146,,145,,145,,145,145,,146,145,,,,,,,',
224
+ ',145,,,,,146,146,146,146,146,146,,146,146,146,145,145,145,145,145,145',
225
+ '144,145,145,145,144,,144,,144,144,143,,144,,143,,143,,143,143,,144,143',
226
+ ',,,,,,,,143,,,,,144,144,144,144,144,144,,144,144,144,143,143,143,143',
227
+ '143,143,142,143,143,143,142,,142,,142,142,106,,142,,106,,106,,106,106',
228
+ ',142,106,,,,,,,,,106,,,,,142,142,142,142,142,142,,142,142,142,106,106',
229
+ '106,106,106,106,103,106,106,106,103,,103,,103,103,73,,103,,73,,73,,73',
230
+ '73,,103,73,,,,,,,,,73,,,,,103,103,103,103,103,103,,103,103,103,73,73',
231
+ '73,73,73,73,74,73,73,73,74,,74,,74,74,75,,74,,75,,75,,75,75,,74,75,',
232
+ ',,,,,,,75,,,,,74,74,74,74,74,74,,74,74,74,75,75,75,75,75,75,76,75,75',
233
+ '75,76,,76,,76,76,141,,76,,141,,141,,141,141,,76,141,,,,,,,,,141,,,,',
234
+ '76,76,76,76,76,76,,76,76,76,141,141,141,141,141,141,140,141,141,141',
235
+ '140,,140,,140,140,105,,140,,105,,105,,105,105,,140,105,,,,,,,,,105,',
236
+ ',,,140,140,140,140,140,140,,140,140,140,105,105,105,105,105,105,104',
237
+ '105,105,105,104,,104,,104,104,139,,104,,139,,139,,139,139,,104,139,',
238
+ ',,,,,,,139,,,,,104,104,104,104,104,104,,104,104,104,139,139,139,139',
239
+ '139,139,98,139,139,139,98,,98,,98,98,138,,98,,138,,138,,138,138,,98',
240
+ '138,,,,,,,,,138,,,,,98,98,98,98,98,98,,98,98,98,138,138,138,138,138',
241
+ '138,100,138,138,138,100,,100,,100,100,148,,100,,148,,148,,148,148,,100',
242
+ '148,,,,,,,,,148,,,,,100,100,100,100,100,100,,100,100,100,148,148,148',
243
+ '148,148,148,,148,148,148,48,48,48,48,48,48,48,48,48,72,72,72,72,72,72',
244
+ '72,72,72,204,204,204,204,204,204,204,204,204,204,204,,,,204,,,,48,48',
245
+ ',,,,,,,72,72,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70',
246
+ '70,70,70,70,,,,70,,,,,,,70,230,230,230,230,230,230,230,230,230,230,230',
247
+ '230,230,230,230,230,230,230,230,230,230,230,230,,,,230,,,,,,,230,218',
248
+ '218,218,218,218,218,218,218,218,218,218,218,218,218,218,218,218,218',
249
+ '218,218,218,218,218,,,,218,,,,,,,218,120,120,120,120,120,120,120,120',
250
+ '120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,,,,120,',
251
+ ',,,,,120,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151',
252
+ '151,151,151,151,151,151,151,151,,,,151,,,,,,151,164,164,164,164,164',
253
+ '164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164',
254
+ '164,,,,164,,,,,,164,166,166,166,166,166,166,166,166,166,166,166,166',
255
+ '166,166,166,166,166,166,166,166,166,166,166,,,,166,,,,,,166,216,216',
256
+ '216,216,216,216,216,216,216,216,216,216,216,216,216,216,216,216,216',
257
+ '216,216,216,216,,,,216,217,217,,,,216,217,217,217,217,217,217,217,217',
258
+ '217,217,,217,217,217,,217,,217,42,42,,,217,,42,42,42,42,42,42,42,42',
259
+ '42,42,42,42,42,42,,42,,42,46,46,,,42,,46,46,46,46,46,46,46,46,46,46',
260
+ ',46,46,46,,46,,46,219,219,,,46,,219,219,219,219,219,219,219,219,219',
261
+ '219,,219,219,219,,219,,219,95,95,,,219,,95,95,95,95,95,95,95,95,95,95',
262
+ ',95,95,95,,95,,95,231,231,,,95,,231,231,231,231,231,231,231,231,231',
263
+ '231,,231,231,231,,231,,231,3,3,3,3,231,,3,3,3,3,3,3,3,3,3,3,,3,3,3,',
264
+ '3,,3,243,243,,,3,,243,243,243,243,243,243,243,243,243,243,,243,243,243',
265
+ ',243,,243,0,0,0,0,243,,0,0,0,0,0,0,0,0,0,0,,0,0,0,,0,,0,248,248,,,0',
266
+ ',248,248,248,248,248,248,248,248,248,248,,248,248,248,,248,,248,,,,',
267
+ '248,174,174,174,174,174,174,174,174,174,174,174,174,174,174,174,174',
268
+ '174,174,174,174,174,174,174,,,,174,173,173,173,173,173,173,173,173,173',
269
+ '173,173,173,173,173,173,173,173,173,173,173,173,173,173,,,,173,235,235',
270
+ '235,235,235,235,235,235,235,235,235,235,235,235,235,235,235,235,235',
271
+ '235,235,235,235,,,,235,167,167,167,167,167,167,167,167,167,167,167,167',
272
+ '167,167,167,167,167,167,167,167,167,167,167,,,,167,168,168,168,168,168',
273
+ '168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168',
274
+ '168,,,,168,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169',
275
+ '169,169,169,169,169,169,169,169,,,,169,175,175,175,175,175,175,175,175',
276
+ '175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,,,,175,179',
277
+ '179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179',
278
+ '179,179,179,179,179,,,,179,171,171,171,171,171,171,171,171,171,171,171',
279
+ '171,171,171,171,171,171,171,171,171,171,171,171,,,,171,172,172,172,172',
280
+ '172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172',
281
+ '172,172,,,,172,170,170,170,170,170,170,170,170,170,170,170,170,170,170',
282
+ '170,170,170,170,170,170,170,170,170,,,,170,190,190,190,190,190,190,190',
283
+ '190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,,,,190,189',
284
+ '189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189',
285
+ '189,189,189,,,,189,212,212,212,212,212,212,212,212,212,212,212,,,,212',
286
+ '210,210,210,210,210,210,210,210,210,210,210,,,,210,211,211,211,211,211',
287
+ '211,211,211,211,211,211,,,,211,205,205,205,205,205,205,205,205,205,205',
288
+ '205,,,,205,206,206,206,206,206,206,206,206,206,206,206,,,,206,207,207',
289
+ '207,207,207,207,207,207,207,207,207,,,,207,208,208,208,208,208,208,208',
290
+ '208,208,208,208,,,,208,209,209,209,209,209,209,209,209,209,209,209,',
291
+ ',,209,203,203,203,203,203,203,203,203,203,203,203,,,,203,199,199,199',
292
+ '199,199,199,199,199,199,199,,,,199,198,198,198,198,198,198,198,198,198',
293
+ ',,,198' ]
294
+ racc_action_check = arr = Array.new(2341, nil)
295
+ idx = 0
296
+ clist.each do |str|
297
+ str.split(',', -1).each do |i|
298
+ arr[idx] = i.to_i unless i.empty?
299
+ idx += 1
300
+ end
301
+ end
302
+
303
+ racc_action_pointer = [
304
+ 1740, 291, nil, 1692, nil, nil, nil, nil, nil, 248,
305
+ 42, nil, nil, nil, nil, nil, nil, nil, nil, nil,
306
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
307
+ 218, 203, 6, 199, 195, nil, 88, 178, 173, 16,
308
+ 30, 358, 1572, 113, 90, 120, 1596, 121, 1275, 23,
309
+ -18, -21, nil, nil, 193, nil, nil, 153, nil, nil,
310
+ nil, 681, nil, nil, 153, 137, nil, 36, 87, 168,
311
+ 1313, nil, 1284, 889, 931, 941, 983, nil, nil, nil,
312
+ nil, nil, nil, 165, nil, nil, nil, nil, nil, nil,
313
+ nil, nil, nil, 191, nil, 1644, -14, 213, 1139, 201,
314
+ 1191, 629, 525, 879, 1087, 1045, 837, 567, 473, 463,
315
+ nil, nil, 411, nil, 369, nil, 201, nil, nil, -15,
316
+ 1415, nil, 92, 252, 224, nil, nil, 56, 46, 4,
317
+ 619, 316, 306, 98, 160, 202, 212, 254, 1149, 1097,
318
+ 1035, 993, 827, 785, 775, 733, 723, 671, 1201, -7,
319
+ 577, 1449, 154, 150, 148, 32, nil, nil, 126, nil,
320
+ nil, nil, nil, 515, 1482, 421, 1515, 1901, 1928, 1955,
321
+ 2090, 2036, 2063, 1847, 1820, 1982, 27, 105, nil, 2009,
322
+ 82, -11, 92, 58, -14, nil, nil, 3, -5, 2141,
323
+ 2116, 120, 381, 16, 262, 46, 67, 177, 2303, 2290,
324
+ 279, 331, 227, 2276, 1272, 2201, 2216, 2231, 2246, 2261,
325
+ 2171, 2186, 2156, nil, 141, 264, 1548, 1548, 1381, 1620,
326
+ 150, nil, 108, 185, 199, nil, -10, nil, nil, 449,
327
+ 1347, 1668, 208, nil, nil, 1874, nil, nil, nil, nil,
328
+ 202, 67, nil, 1716, 397, 254, nil, nil, 1764, nil ]
329
+
330
+ racc_action_default = [
331
+ -2, -136, -1, -4, -5, -6, -7, -8, -9, -136,
332
+ -136, -13, -14, -15, -16, -17, -18, -19, -20, -21,
333
+ -22, -23, -24, -25, -26, -27, -28, -29, -30, -31,
334
+ -136, -136, -136, -136, -136, -37, -136, -136, -136, -136,
335
+ -136, -136, -136, -136, -136, -136, -136, -136, -136, -109,
336
+ -136, -136, -125, -126, -136, -3, -10, -136, -32, -33,
337
+ -34, -136, -35, -36, -136, -118, -39, -136, -136, -136,
338
+ -136, -45, -102, -136, -136, -136, -136, -87, -88, -99,
339
+ -100, -101, -103, -104, -105, -127, -128, -129, -130, -131,
340
+ -133, -134, -135, -136, -47, -124, -116, -136, -136, -136,
341
+ -136, -136, -136, -136, -136, -136, -136, -136, -136, -136,
342
+ -66, -68, -136, -108, -136, -65, -109, -67, 250, -136,
343
+ -136, -38, -136, -136, -136, -42, -44, -136, -136, -136,
344
+ -136, -136, -136, -136, -136, -136, -136, -136, -136, -136,
345
+ -136, -136, -136, -136, -136, -136, -136, -136, -136, -136,
346
+ -136, -136, -71, -75, -76, -136, -46, -123, -136, -112,
347
+ -113, -114, -115, -136, -136, -136, -136, -54, -55, -56,
348
+ -57, -58, -59, -60, -61, -62, -109, -136, -64, -107,
349
+ -111, -136, -136, -136, -122, -43, -117, -136, -136, -70,
350
+ -72, -73, -74, -77, -78, -79, -80, -81, -82, -83,
351
+ -84, -85, -86, -89, -90, -91, -92, -93, -94, -95,
352
+ -96, -97, -98, -69, -136, -136, -136, -136, -136, -136,
353
+ -136, -63, -136, -120, -136, -12, -136, -40, -41, -136,
354
+ -136, -136, -50, -52, -53, -106, -110, -119, -11, -121,
355
+ -136, -116, -49, -136, -136, -136, -51, -132, -136, -48 ]
356
+
357
+ racc_goto_table = [
358
+ 48, 95, 158, 48, 177, 99, 37, 93, 182, 37,
359
+ 2, 214, 64, 55, 225, 34, 69, 1, 34, 123,
360
+ 124, 30, 56, 237, 30, nil, nil, nil, nil, nil,
361
+ nil, nil, nil, nil, 32, nil, nil, 32, nil, nil,
362
+ nil, nil, 48, 57, nil, nil, 48, nil, 37, nil,
363
+ 115, 117, 37, nil, 95, 238, nil, 34, nil, nil,
364
+ 157, 34, nil, 30, nil, nil, nil, 30, nil, 65,
365
+ nil, nil, nil, 65, nil, nil, 32, 97, nil, nil,
366
+ 32, nil, nil, 116, 116, 240, nil, nil, nil, nil,
367
+ nil, nil, nil, nil, nil, 48, 48, nil, 186, nil,
368
+ 247, 37, 162, nil, nil, nil, nil, nil, nil, nil,
369
+ 34, 161, nil, nil, 236, 239, 30, 159, nil, nil,
370
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 32,
371
+ 160, nil, nil, nil, nil, nil, nil, nil, nil, nil,
372
+ nil, nil, nil, nil, nil, 176, nil, 245, nil, nil,
373
+ nil, nil, 184, nil, nil, 65, nil, nil, nil, nil,
374
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
375
+ nil, nil, nil, nil, nil, nil, 232, nil, 234, nil,
376
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
377
+ 242, nil, nil, nil, nil, nil, nil, nil, nil, nil,
378
+ nil, nil, 246, nil, nil, nil, nil, 249, nil, nil,
379
+ nil, nil, nil, nil, nil, nil, nil, 48, nil, 48,
380
+ nil, nil, nil, 37, nil, 37, nil, nil, nil, nil,
381
+ nil, 48, 34, nil, 34, nil, nil, 37, 30, nil,
382
+ 30, 48, nil, 48, nil, nil, 34, 162, 48, 37,
383
+ nil, 32, 30, 32, 37, 176, 161, nil, 34, 184,
384
+ 70, nil, 159, 34, 30, 32, nil, nil, nil, 30,
385
+ nil, nil, nil, nil, nil, 160, nil, 32, nil, nil,
386
+ 120, nil, 32, nil, nil, nil, nil, nil, nil, nil,
387
+ nil, nil, 151, 152, 153, 154, nil, nil, nil, nil,
388
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
389
+ nil, nil, nil, nil, nil, nil, nil, 164, nil, 166,
390
+ 167, 168, 169, 170, 171, 172, 173, 174, 175, nil,
391
+ nil, nil, nil, 181, nil, nil, nil, nil, nil, nil,
392
+ nil, nil, nil, nil, nil, nil, 189, 190, 191, 192,
393
+ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
394
+ 203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
395
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
396
+ nil, nil, 216, nil, 218, nil, nil, nil, nil, nil,
397
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
398
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
399
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
400
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
401
+ nil, nil, nil, nil, 230, nil, nil, nil, nil, 235 ]
402
+
403
+ racc_goto_check = [
404
+ 39, 6, 38, 39, 40, 6, 34, 37, 10, 34,
405
+ 2, 42, 33, 2, 11, 32, 33, 1, 32, 35,
406
+ 35, 30, 5, 45, 30, nil, nil, nil, nil, nil,
407
+ nil, nil, nil, nil, 31, nil, nil, 31, nil, nil,
408
+ nil, nil, 39, 9, nil, nil, 39, nil, 34, nil,
409
+ 39, 39, 34, nil, 6, 11, nil, 32, nil, nil,
410
+ 37, 32, nil, 30, nil, nil, nil, 30, nil, 9,
411
+ nil, nil, nil, 9, nil, nil, 31, 9, nil, nil,
412
+ 31, nil, nil, 9, 9, 42, nil, nil, nil, nil,
413
+ nil, nil, nil, nil, nil, 39, 39, nil, 33, nil,
414
+ 42, 34, 34, nil, nil, nil, nil, nil, nil, nil,
415
+ 32, 32, nil, nil, 40, 10, 30, 30, nil, nil,
416
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 31,
417
+ 31, nil, nil, nil, nil, nil, nil, nil, nil, nil,
418
+ nil, nil, nil, nil, nil, 9, nil, 38, nil, nil,
419
+ nil, nil, 9, nil, nil, 9, nil, nil, nil, nil,
420
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
421
+ nil, nil, nil, nil, nil, nil, 6, nil, 6, nil,
422
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
423
+ 6, nil, nil, nil, nil, nil, nil, nil, nil, nil,
424
+ nil, nil, 6, nil, nil, nil, nil, 6, nil, nil,
425
+ nil, nil, nil, nil, nil, nil, nil, 39, nil, 39,
426
+ nil, nil, nil, 34, nil, 34, nil, nil, nil, nil,
427
+ nil, 39, 32, nil, 32, nil, nil, 34, 30, nil,
428
+ 30, 39, nil, 39, nil, nil, 32, 34, 39, 34,
429
+ nil, 31, 30, 31, 34, 9, 32, nil, 32, 9,
430
+ 36, nil, 30, 32, 30, 31, nil, nil, nil, 30,
431
+ nil, nil, nil, nil, nil, 31, nil, 31, nil, nil,
432
+ 36, nil, 31, nil, nil, nil, nil, nil, nil, nil,
433
+ nil, nil, 36, 36, 36, 36, nil, nil, nil, nil,
434
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
435
+ nil, nil, nil, nil, nil, nil, nil, 36, nil, 36,
436
+ 36, 36, 36, 36, 36, 36, 36, 36, 36, nil,
437
+ nil, nil, nil, 36, nil, nil, nil, nil, nil, nil,
438
+ nil, nil, nil, nil, nil, nil, 36, 36, 36, 36,
439
+ 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
440
+ 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
441
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
442
+ nil, nil, 36, nil, 36, nil, nil, nil, nil, nil,
443
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
444
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
445
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
446
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
447
+ nil, nil, nil, nil, 36, nil, nil, nil, nil, 36 ]
448
+
449
+ racc_goto_pointer = [
450
+ nil, 17, 10, nil, nil, 13, -41, nil, nil, 33,
451
+ -111, -169, nil, nil, nil, nil, nil, nil, nil, nil,
452
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
453
+ 21, 34, 15, -24, 6, -48, 219, -35, -94, 0,
454
+ -108, nil, -144, nil, nil, -200 ]
455
+
456
+ racc_goto_default = [
457
+ nil, nil, nil, 3, 4, 5, 6, 7, 8, 49,
458
+ nil, 24, 11, 12, 13, 14, 15, 16, 17, 18,
459
+ 19, 20, 21, 22, 23, 25, 26, 27, 28, 29,
460
+ 79, 81, 78, nil, 77, 80, 179, nil, nil, 72,
461
+ nil, 82, 83, 84, 180, 113 ]
462
+
463
+ racc_reduce_table = [
464
+ 0, 0, :racc_error,
465
+ 1, 77, :_reduce_1,
466
+ 0, 77, :_reduce_2,
467
+ 2, 78, :_reduce_3,
468
+ 1, 78, :_reduce_4,
469
+ 1, 79, :_reduce_5,
470
+ 1, 79, :_reduce_6,
471
+ 1, 79, :_reduce_7,
472
+ 1, 82, :_reduce_8,
473
+ 1, 82, :_reduce_9,
474
+ 2, 80, :_reduce_10,
475
+ 6, 81, :_reduce_11,
476
+ 5, 81, :_reduce_12,
477
+ 1, 83, :_reduce_13,
478
+ 1, 83, :_reduce_14,
479
+ 1, 83, :_reduce_15,
480
+ 1, 83, :_reduce_16,
481
+ 1, 83, :_reduce_17,
482
+ 1, 83, :_reduce_18,
483
+ 1, 83, :_reduce_19,
484
+ 1, 83, :_reduce_20,
485
+ 1, 83, :_reduce_21,
486
+ 1, 83, :_reduce_22,
487
+ 1, 83, :_reduce_23,
488
+ 1, 83, :_reduce_24,
489
+ 1, 83, :_reduce_25,
490
+ 1, 84, :_reduce_26,
491
+ 1, 84, :_reduce_27,
492
+ 1, 84, :_reduce_28,
493
+ 1, 84, :_reduce_29,
494
+ 1, 84, :_reduce_30,
495
+ 1, 84, :_reduce_31,
496
+ 2, 88, :_reduce_32,
497
+ 2, 89, :_reduce_33,
498
+ 2, 90, :_reduce_34,
499
+ 2, 91, :_reduce_35,
500
+ 2, 92, :_reduce_36,
501
+ 1, 93, :_reduce_37,
502
+ 3, 94, :_reduce_38,
503
+ 2, 97, :_reduce_39,
504
+ 5, 95, :_reduce_40,
505
+ 5, 96, :_reduce_41,
506
+ 3, 98, :_reduce_42,
507
+ 4, 99, :_reduce_43,
508
+ 3, 100, :_reduce_44,
509
+ 2, 100, :_reduce_45,
510
+ 3, 87, :_reduce_46,
511
+ 2, 87, :_reduce_47,
512
+ 9, 101, :_reduce_48,
513
+ 6, 102, :_reduce_49,
514
+ 5, 103, :_reduce_50,
515
+ 7, 103, :_reduce_51,
516
+ 5, 104, :_reduce_52,
517
+ 5, 105, :_reduce_53,
518
+ 3, 106, :_reduce_54,
519
+ 3, 106, :_reduce_55,
520
+ 3, 106, :_reduce_56,
521
+ 3, 106, :_reduce_57,
522
+ 3, 106, :_reduce_58,
523
+ 3, 106, :_reduce_59,
524
+ 3, 106, :_reduce_60,
525
+ 3, 106, :_reduce_61,
526
+ 3, 106, :_reduce_62,
527
+ 4, 107, :_reduce_63,
528
+ 3, 107, :_reduce_64,
529
+ 2, 108, :_reduce_65,
530
+ 2, 108, :_reduce_66,
531
+ 2, 110, :_reduce_67,
532
+ 2, 110, :_reduce_68,
533
+ 3, 112, :_reduce_69,
534
+ 3, 112, :_reduce_70,
535
+ 2, 112, :_reduce_71,
536
+ 3, 112, :_reduce_72,
537
+ 3, 112, :_reduce_73,
538
+ 3, 112, :_reduce_74,
539
+ 2, 112, :_reduce_75,
540
+ 2, 112, :_reduce_76,
541
+ 3, 112, :_reduce_77,
542
+ 3, 112, :_reduce_78,
543
+ 3, 112, :_reduce_79,
544
+ 3, 112, :_reduce_80,
545
+ 3, 112, :_reduce_81,
546
+ 3, 112, :_reduce_82,
547
+ 3, 112, :_reduce_83,
548
+ 3, 112, :_reduce_84,
549
+ 3, 112, :_reduce_85,
550
+ 3, 112, :_reduce_86,
551
+ 1, 112, :_reduce_87,
552
+ 1, 112, :_reduce_88,
553
+ 3, 112, :_reduce_89,
554
+ 3, 112, :_reduce_90,
555
+ 3, 112, :_reduce_91,
556
+ 3, 112, :_reduce_92,
557
+ 3, 112, :_reduce_93,
558
+ 3, 112, :_reduce_94,
559
+ 3, 112, :_reduce_95,
560
+ 3, 112, :_reduce_96,
561
+ 3, 112, :_reduce_97,
562
+ 3, 112, :_reduce_98,
563
+ 1, 112, :_reduce_99,
564
+ 1, 112, :_reduce_100,
565
+ 1, 112, :_reduce_101,
566
+ 1, 112, :_reduce_102,
567
+ 1, 112, :_reduce_103,
568
+ 1, 112, :_reduce_104,
569
+ 1, 112, :_reduce_105,
570
+ 3, 120, :_reduce_106,
571
+ 1, 120, :_reduce_107,
572
+ 2, 115, :_reduce_108,
573
+ 1, 115, :_reduce_109,
574
+ 3, 116, :_reduce_110,
575
+ 1, 116, :_reduce_111,
576
+ 1, 114, :_reduce_112,
577
+ 1, 114, :_reduce_113,
578
+ 1, 114, :_reduce_114,
579
+ 1, 114, :_reduce_115,
580
+ 0, 114, :_reduce_116,
581
+ 3, 109, :_reduce_117,
582
+ 1, 109, :_reduce_118,
583
+ 4, 121, :_reduce_119,
584
+ 3, 121, :_reduce_120,
585
+ 3, 86, :_reduce_121,
586
+ 1, 86, :_reduce_122,
587
+ 2, 113, :_reduce_123,
588
+ 1, 113, :_reduce_124,
589
+ 1, 85, :_reduce_125,
590
+ 1, 85, :_reduce_126,
591
+ 1, 118, :_reduce_127,
592
+ 1, 118, :_reduce_128,
593
+ 1, 118, :_reduce_129,
594
+ 1, 118, :_reduce_130,
595
+ 1, 118, :_reduce_131,
596
+ 7, 117, :_reduce_132,
597
+ 1, 111, :_reduce_133,
598
+ 1, 111, :_reduce_134,
599
+ 1, 119, :_reduce_135 ]
600
+
601
+ racc_reduce_n = 136
602
+
603
+ racc_shift_n = 250
604
+
605
+ racc_token_table = {
606
+ false => 0,
607
+ :error => 1,
608
+ :ASS_EQ => 2,
609
+ :ADD_EQ => 3,
610
+ :SUB_EQ => 4,
611
+ :MUL_EQ => 5,
612
+ :DIV_EQ => 6,
613
+ :MOD_EQ => 7,
614
+ :SLL_EQ => 8,
615
+ :SRA_EQ => 9,
616
+ :SRL_EQ => 10,
617
+ :OR => 11,
618
+ :AND => 12,
619
+ :CMP_LT => 13,
620
+ :CMP_GT => 14,
621
+ :CMP_EQ => 15,
622
+ :CMP_NE => 16,
623
+ :CMP_GE => 17,
624
+ :CMP_LE => 18,
625
+ :SUBSTR_EQ => 19,
626
+ :SUBSTR_NE => 20,
627
+ :REGEX_EQ => 21,
628
+ :REGEX_NE => 22,
629
+ :BIT_OR => 23,
630
+ :BIT_XOR => 24,
631
+ :BIT_AND => 25,
632
+ :BIT_SRA => 26,
633
+ :BIT_SRL => 27,
634
+ :BIT_SLL => 28,
635
+ :ADD => 29,
636
+ :SUB => 30,
637
+ :MUL => 31,
638
+ :DIV => 32,
639
+ :MOD => 33,
640
+ :NOT => 34,
641
+ :UMINUS => 35,
642
+ :BIT_NOT => 36,
643
+ :EXP => 37,
644
+ :INCR => 38,
645
+ :DECR => 39,
646
+ :EXPORT => 40,
647
+ :FUNCTION => 41,
648
+ :LPAREN => 42,
649
+ :RPAREN => 43,
650
+ :SEMICOLON => 44,
651
+ :BREAK => 45,
652
+ :CONTINUE => 46,
653
+ :GLOBAL => 47,
654
+ :IMPORT => 48,
655
+ :INCLUDE => 49,
656
+ :LOCAL => 50,
657
+ :REP => 51,
658
+ :RETURN => 52,
659
+ :LBRACE => 53,
660
+ :RBRACE => 54,
661
+ :FOR => 55,
662
+ :FOREACH => 56,
663
+ :IF => 57,
664
+ :ELSE => 58,
665
+ :REPEAT => 59,
666
+ :UNTIL => 60,
667
+ :WHILE => 61,
668
+ :COLON => 62,
669
+ :COMMA => 63,
670
+ :LBRACK => 64,
671
+ :RBRACK => 65,
672
+ :IDENT => 66,
673
+ :INT_DEC => 67,
674
+ :INT_HEX => 68,
675
+ :INT_OCT => 69,
676
+ :FALSE => 70,
677
+ :TRUE => 71,
678
+ :PERIOD => 72,
679
+ :DATA => 73,
680
+ :STRING => 74,
681
+ :UNDEF => 75 }
682
+
683
+ racc_nt_base = 76
684
+
685
+ racc_use_result_var = false
686
+
687
+ Racc_arg = [
688
+ racc_action_table,
689
+ racc_action_check,
690
+ racc_action_default,
691
+ racc_action_pointer,
692
+ racc_goto_table,
693
+ racc_goto_check,
694
+ racc_goto_default,
695
+ racc_goto_pointer,
696
+ racc_nt_base,
697
+ racc_reduce_table,
698
+ racc_token_table,
699
+ racc_shift_n,
700
+ racc_reduce_n,
701
+ racc_use_result_var ]
702
+
703
+ Racc_token_to_s_table = [
704
+ "$end",
705
+ "error",
706
+ "ASS_EQ",
707
+ "ADD_EQ",
708
+ "SUB_EQ",
709
+ "MUL_EQ",
710
+ "DIV_EQ",
711
+ "MOD_EQ",
712
+ "SLL_EQ",
713
+ "SRA_EQ",
714
+ "SRL_EQ",
715
+ "OR",
716
+ "AND",
717
+ "CMP_LT",
718
+ "CMP_GT",
719
+ "CMP_EQ",
720
+ "CMP_NE",
721
+ "CMP_GE",
722
+ "CMP_LE",
723
+ "SUBSTR_EQ",
724
+ "SUBSTR_NE",
725
+ "REGEX_EQ",
726
+ "REGEX_NE",
727
+ "BIT_OR",
728
+ "BIT_XOR",
729
+ "BIT_AND",
730
+ "BIT_SRA",
731
+ "BIT_SRL",
732
+ "BIT_SLL",
733
+ "ADD",
734
+ "SUB",
735
+ "MUL",
736
+ "DIV",
737
+ "MOD",
738
+ "NOT",
739
+ "UMINUS",
740
+ "BIT_NOT",
741
+ "EXP",
742
+ "INCR",
743
+ "DECR",
744
+ "EXPORT",
745
+ "FUNCTION",
746
+ "LPAREN",
747
+ "RPAREN",
748
+ "SEMICOLON",
749
+ "BREAK",
750
+ "CONTINUE",
751
+ "GLOBAL",
752
+ "IMPORT",
753
+ "INCLUDE",
754
+ "LOCAL",
755
+ "REP",
756
+ "RETURN",
757
+ "LBRACE",
758
+ "RBRACE",
759
+ "FOR",
760
+ "FOREACH",
761
+ "IF",
762
+ "ELSE",
763
+ "REPEAT",
764
+ "UNTIL",
765
+ "WHILE",
766
+ "COLON",
767
+ "COMMA",
768
+ "LBRACK",
769
+ "RBRACK",
770
+ "IDENT",
771
+ "INT_DEC",
772
+ "INT_HEX",
773
+ "INT_OCT",
774
+ "FALSE",
775
+ "TRUE",
776
+ "PERIOD",
777
+ "DATA",
778
+ "STRING",
779
+ "UNDEF",
780
+ "$start",
781
+ "start",
782
+ "roots",
783
+ "root",
784
+ "export",
785
+ "function",
786
+ "statement",
787
+ "simple",
788
+ "compound",
789
+ "ident",
790
+ "params",
791
+ "block",
792
+ "assign",
793
+ "break",
794
+ "call",
795
+ "continue",
796
+ "decr",
797
+ "empty",
798
+ "global",
799
+ "import",
800
+ "include",
801
+ "incr",
802
+ "local",
803
+ "rep",
804
+ "return",
805
+ "for",
806
+ "foreach",
807
+ "if",
808
+ "repeat",
809
+ "while",
810
+ "assign_exp",
811
+ "call_exp",
812
+ "decr_exp",
813
+ "idents",
814
+ "incr_exp",
815
+ "string",
816
+ "expr",
817
+ "statements",
818
+ "field",
819
+ "lval",
820
+ "args",
821
+ "ip",
822
+ "int",
823
+ "undef",
824
+ "arg",
825
+ "indexes" ]
826
+
827
+ Racc_debug_parser = false
828
+
829
+ ##### State transition tables end #####
830
+
831
+ # reduce 0 omitted
832
+
833
+ module_eval(<<'.,.,', 'grammar.racc', 61)
834
+ def _reduce_1(val, _values)
835
+ val[0]
836
+ end
837
+ .,.,
838
+
839
+ module_eval(<<'.,.,', 'grammar.racc', 63)
840
+ def _reduce_2(val, _values)
841
+ []
842
+ end
843
+ .,.,
844
+
845
+ module_eval(<<'.,.,', 'grammar.racc', 67)
846
+ def _reduce_3(val, _values)
847
+ [val[0]] + val[1]
848
+ end
849
+ .,.,
850
+
851
+ module_eval(<<'.,.,', 'grammar.racc', 69)
852
+ def _reduce_4(val, _values)
853
+ [val[0]]
854
+ end
855
+ .,.,
856
+
857
+ module_eval(<<'.,.,', 'grammar.racc', 73)
858
+ def _reduce_5(val, _values)
859
+ val[0]
860
+ end
861
+ .,.,
862
+
863
+ module_eval(<<'.,.,', 'grammar.racc', 75)
864
+ def _reduce_6(val, _values)
865
+ val[0]
866
+ end
867
+ .,.,
868
+
869
+ module_eval(<<'.,.,', 'grammar.racc', 77)
870
+ def _reduce_7(val, _values)
871
+ val[0]
872
+ end
873
+ .,.,
874
+
875
+ module_eval(<<'.,.,', 'grammar.racc', 81)
876
+ def _reduce_8(val, _values)
877
+ val[0]
878
+ end
879
+ .,.,
880
+
881
+ module_eval(<<'.,.,', 'grammar.racc', 83)
882
+ def _reduce_9(val, _values)
883
+ val[0]
884
+ end
885
+ .,.,
886
+
887
+ module_eval(<<'.,.,', 'grammar.racc', 91)
888
+ def _reduce_10(val, _values)
889
+ n(:Export, *val)
890
+ end
891
+ .,.,
892
+
893
+ module_eval(<<'.,.,', 'grammar.racc', 95)
894
+ def _reduce_11(val, _values)
895
+ n(:Function, *val)
896
+ end
897
+ .,.,
898
+
899
+ module_eval(<<'.,.,', 'grammar.racc', 97)
900
+ def _reduce_12(val, _values)
901
+ n(:Function, *val)
902
+ end
903
+ .,.,
904
+
905
+ module_eval(<<'.,.,', 'grammar.racc', 101)
906
+ def _reduce_13(val, _values)
907
+ val[0]
908
+ end
909
+ .,.,
910
+
911
+ module_eval(<<'.,.,', 'grammar.racc', 103)
912
+ def _reduce_14(val, _values)
913
+ val[0]
914
+ end
915
+ .,.,
916
+
917
+ module_eval(<<'.,.,', 'grammar.racc', 105)
918
+ def _reduce_15(val, _values)
919
+ val[0]
920
+ end
921
+ .,.,
922
+
923
+ module_eval(<<'.,.,', 'grammar.racc', 107)
924
+ def _reduce_16(val, _values)
925
+ val[0]
926
+ end
927
+ .,.,
928
+
929
+ module_eval(<<'.,.,', 'grammar.racc', 109)
930
+ def _reduce_17(val, _values)
931
+ val[0]
932
+ end
933
+ .,.,
934
+
935
+ module_eval(<<'.,.,', 'grammar.racc', 111)
936
+ def _reduce_18(val, _values)
937
+ val[0]
938
+ end
939
+ .,.,
940
+
941
+ module_eval(<<'.,.,', 'grammar.racc', 113)
942
+ def _reduce_19(val, _values)
943
+ val[0]
944
+ end
945
+ .,.,
946
+
947
+ module_eval(<<'.,.,', 'grammar.racc', 115)
948
+ def _reduce_20(val, _values)
949
+ val[0]
950
+ end
951
+ .,.,
952
+
953
+ module_eval(<<'.,.,', 'grammar.racc', 117)
954
+ def _reduce_21(val, _values)
955
+ val[0]
956
+ end
957
+ .,.,
958
+
959
+ module_eval(<<'.,.,', 'grammar.racc', 119)
960
+ def _reduce_22(val, _values)
961
+ val[0]
962
+ end
963
+ .,.,
964
+
965
+ module_eval(<<'.,.,', 'grammar.racc', 121)
966
+ def _reduce_23(val, _values)
967
+ val[0]
968
+ end
969
+ .,.,
970
+
971
+ module_eval(<<'.,.,', 'grammar.racc', 123)
972
+ def _reduce_24(val, _values)
973
+ val[0]
974
+ end
975
+ .,.,
976
+
977
+ module_eval(<<'.,.,', 'grammar.racc', 125)
978
+ def _reduce_25(val, _values)
979
+ val[0]
980
+ end
981
+ .,.,
982
+
983
+ module_eval(<<'.,.,', 'grammar.racc', 129)
984
+ def _reduce_26(val, _values)
985
+ val[0]
986
+ end
987
+ .,.,
988
+
989
+ module_eval(<<'.,.,', 'grammar.racc', 131)
990
+ def _reduce_27(val, _values)
991
+ val[0]
992
+ end
993
+ .,.,
994
+
995
+ module_eval(<<'.,.,', 'grammar.racc', 133)
996
+ def _reduce_28(val, _values)
997
+ val[0]
998
+ end
999
+ .,.,
1000
+
1001
+ module_eval(<<'.,.,', 'grammar.racc', 135)
1002
+ def _reduce_29(val, _values)
1003
+ val[0]
1004
+ end
1005
+ .,.,
1006
+
1007
+ module_eval(<<'.,.,', 'grammar.racc', 137)
1008
+ def _reduce_30(val, _values)
1009
+ val[0]
1010
+ end
1011
+ .,.,
1012
+
1013
+ module_eval(<<'.,.,', 'grammar.racc', 139)
1014
+ def _reduce_31(val, _values)
1015
+ val[0]
1016
+ end
1017
+ .,.,
1018
+
1019
+ module_eval(<<'.,.,', 'grammar.racc', 147)
1020
+ def _reduce_32(val, _values)
1021
+ n(:Assignment, *val[0], val[1])
1022
+ end
1023
+ .,.,
1024
+
1025
+ module_eval(<<'.,.,', 'grammar.racc', 151)
1026
+ def _reduce_33(val, _values)
1027
+ n(:Break, *val)
1028
+ end
1029
+ .,.,
1030
+
1031
+ module_eval(<<'.,.,', 'grammar.racc', 155)
1032
+ def _reduce_34(val, _values)
1033
+ n(:Call, *val[0], val[1])
1034
+ end
1035
+ .,.,
1036
+
1037
+ module_eval(<<'.,.,', 'grammar.racc', 159)
1038
+ def _reduce_35(val, _values)
1039
+ n(:Continue, *val)
1040
+ end
1041
+ .,.,
1042
+
1043
+ module_eval(<<'.,.,', 'grammar.racc', 163)
1044
+ def _reduce_36(val, _values)
1045
+ n(:Decrement, *val[0], val[1])
1046
+ end
1047
+ .,.,
1048
+
1049
+ module_eval(<<'.,.,', 'grammar.racc', 167)
1050
+ def _reduce_37(val, _values)
1051
+ n(:Empty, *val)
1052
+ end
1053
+ .,.,
1054
+
1055
+ module_eval(<<'.,.,', 'grammar.racc', 171)
1056
+ def _reduce_38(val, _values)
1057
+ n(:Global, *val)
1058
+ end
1059
+ .,.,
1060
+
1061
+ module_eval(<<'.,.,', 'grammar.racc', 175)
1062
+ def _reduce_39(val, _values)
1063
+ n(:Increment, *val[0], val[1])
1064
+ end
1065
+ .,.,
1066
+
1067
+ module_eval(<<'.,.,', 'grammar.racc', 179)
1068
+ def _reduce_40(val, _values)
1069
+ n(:Import, *val)
1070
+ end
1071
+ .,.,
1072
+
1073
+ module_eval(<<'.,.,', 'grammar.racc', 183)
1074
+ def _reduce_41(val, _values)
1075
+ n(:Include, *val)
1076
+ end
1077
+ .,.,
1078
+
1079
+ module_eval(<<'.,.,', 'grammar.racc', 187)
1080
+ def _reduce_42(val, _values)
1081
+ n(:Local, *val)
1082
+ end
1083
+ .,.,
1084
+
1085
+ module_eval(<<'.,.,', 'grammar.racc', 191)
1086
+ def _reduce_43(val, _values)
1087
+ n(:Repetition, n(:Call, *val[0]), *val[1..-1])
1088
+ end
1089
+ .,.,
1090
+
1091
+ module_eval(<<'.,.,', 'grammar.racc', 195)
1092
+ def _reduce_44(val, _values)
1093
+ n(:Return, *val)
1094
+ end
1095
+ .,.,
1096
+
1097
+ module_eval(<<'.,.,', 'grammar.racc', 197)
1098
+ def _reduce_45(val, _values)
1099
+ n(:Return, *val)
1100
+ end
1101
+ .,.,
1102
+
1103
+ module_eval(<<'.,.,', 'grammar.racc', 205)
1104
+ def _reduce_46(val, _values)
1105
+ n(:Block, *val)
1106
+ end
1107
+ .,.,
1108
+
1109
+ module_eval(<<'.,.,', 'grammar.racc', 207)
1110
+ def _reduce_47(val, _values)
1111
+ n(:Block, *val)
1112
+ end
1113
+ .,.,
1114
+
1115
+ module_eval(<<'.,.,', 'grammar.racc', 211)
1116
+ def _reduce_48(val, _values)
1117
+ n(:For, *val)
1118
+ end
1119
+ .,.,
1120
+
1121
+ module_eval(<<'.,.,', 'grammar.racc', 215)
1122
+ def _reduce_49(val, _values)
1123
+ n(:Foreach, *val)
1124
+ end
1125
+ .,.,
1126
+
1127
+ module_eval(<<'.,.,', 'grammar.racc', 219)
1128
+ def _reduce_50(val, _values)
1129
+ n(:If, *val)
1130
+ end
1131
+ .,.,
1132
+
1133
+ module_eval(<<'.,.,', 'grammar.racc', 221)
1134
+ def _reduce_51(val, _values)
1135
+ n(:If, *val)
1136
+ end
1137
+ .,.,
1138
+
1139
+ module_eval(<<'.,.,', 'grammar.racc', 225)
1140
+ def _reduce_52(val, _values)
1141
+ n(:Repeat, *val)
1142
+ end
1143
+ .,.,
1144
+
1145
+ module_eval(<<'.,.,', 'grammar.racc', 229)
1146
+ def _reduce_53(val, _values)
1147
+ n(:While, *val)
1148
+ end
1149
+ .,.,
1150
+
1151
+ module_eval(<<'.,.,', 'grammar.racc', 237)
1152
+ def _reduce_54(val, _values)
1153
+ val
1154
+ end
1155
+ .,.,
1156
+
1157
+ module_eval(<<'.,.,', 'grammar.racc', 239)
1158
+ def _reduce_55(val, _values)
1159
+ val
1160
+ end
1161
+ .,.,
1162
+
1163
+ module_eval(<<'.,.,', 'grammar.racc', 241)
1164
+ def _reduce_56(val, _values)
1165
+ val
1166
+ end
1167
+ .,.,
1168
+
1169
+ module_eval(<<'.,.,', 'grammar.racc', 243)
1170
+ def _reduce_57(val, _values)
1171
+ val
1172
+ end
1173
+ .,.,
1174
+
1175
+ module_eval(<<'.,.,', 'grammar.racc', 245)
1176
+ def _reduce_58(val, _values)
1177
+ val
1178
+ end
1179
+ .,.,
1180
+
1181
+ module_eval(<<'.,.,', 'grammar.racc', 247)
1182
+ def _reduce_59(val, _values)
1183
+ val
1184
+ end
1185
+ .,.,
1186
+
1187
+ module_eval(<<'.,.,', 'grammar.racc', 249)
1188
+ def _reduce_60(val, _values)
1189
+ val
1190
+ end
1191
+ .,.,
1192
+
1193
+ module_eval(<<'.,.,', 'grammar.racc', 251)
1194
+ def _reduce_61(val, _values)
1195
+ val
1196
+ end
1197
+ .,.,
1198
+
1199
+ module_eval(<<'.,.,', 'grammar.racc', 253)
1200
+ def _reduce_62(val, _values)
1201
+ val
1202
+ end
1203
+ .,.,
1204
+
1205
+ module_eval(<<'.,.,', 'grammar.racc', 257)
1206
+ def _reduce_63(val, _values)
1207
+ val
1208
+ end
1209
+ .,.,
1210
+
1211
+ module_eval(<<'.,.,', 'grammar.racc', 259)
1212
+ def _reduce_64(val, _values)
1213
+ val
1214
+ end
1215
+ .,.,
1216
+
1217
+ module_eval(<<'.,.,', 'grammar.racc', 262)
1218
+ def _reduce_65(val, _values)
1219
+ val
1220
+ end
1221
+ .,.,
1222
+
1223
+ module_eval(<<'.,.,', 'grammar.racc', 264)
1224
+ def _reduce_66(val, _values)
1225
+ val
1226
+ end
1227
+ .,.,
1228
+
1229
+ module_eval(<<'.,.,', 'grammar.racc', 268)
1230
+ def _reduce_67(val, _values)
1231
+ val
1232
+ end
1233
+ .,.,
1234
+
1235
+ module_eval(<<'.,.,', 'grammar.racc', 270)
1236
+ def _reduce_68(val, _values)
1237
+ val
1238
+ end
1239
+ .,.,
1240
+
1241
+ module_eval(<<'.,.,', 'grammar.racc', 274)
1242
+ def _reduce_69(val, _values)
1243
+ n(:Expression, *val)
1244
+ end
1245
+ .,.,
1246
+
1247
+ module_eval(<<'.,.,', 'grammar.racc', 276)
1248
+ def _reduce_70(val, _values)
1249
+ n(:Expression, *val)
1250
+ end
1251
+ .,.,
1252
+
1253
+ module_eval(<<'.,.,', 'grammar.racc', 278)
1254
+ def _reduce_71(val, _values)
1255
+ n(:Expression, *val)
1256
+ end
1257
+ .,.,
1258
+
1259
+ module_eval(<<'.,.,', 'grammar.racc', 280)
1260
+ def _reduce_72(val, _values)
1261
+ n(:Expression, *val)
1262
+ end
1263
+ .,.,
1264
+
1265
+ module_eval(<<'.,.,', 'grammar.racc', 282)
1266
+ def _reduce_73(val, _values)
1267
+ n(:Expression, *val)
1268
+ end
1269
+ .,.,
1270
+
1271
+ module_eval(<<'.,.,', 'grammar.racc', 284)
1272
+ def _reduce_74(val, _values)
1273
+ n(:Expression, *val)
1274
+ end
1275
+ .,.,
1276
+
1277
+ module_eval(<<'.,.,', 'grammar.racc', 286)
1278
+ def _reduce_75(val, _values)
1279
+ n(:Expression, *val)
1280
+ end
1281
+ .,.,
1282
+
1283
+ module_eval(<<'.,.,', 'grammar.racc', 288)
1284
+ def _reduce_76(val, _values)
1285
+ n(:Expression, *val)
1286
+ end
1287
+ .,.,
1288
+
1289
+ module_eval(<<'.,.,', 'grammar.racc', 290)
1290
+ def _reduce_77(val, _values)
1291
+ n(:Expression, *val)
1292
+ end
1293
+ .,.,
1294
+
1295
+ module_eval(<<'.,.,', 'grammar.racc', 292)
1296
+ def _reduce_78(val, _values)
1297
+ n(:Expression, *val)
1298
+ end
1299
+ .,.,
1300
+
1301
+ module_eval(<<'.,.,', 'grammar.racc', 294)
1302
+ def _reduce_79(val, _values)
1303
+ n(:Expression, *val)
1304
+ end
1305
+ .,.,
1306
+
1307
+ module_eval(<<'.,.,', 'grammar.racc', 296)
1308
+ def _reduce_80(val, _values)
1309
+ n(:Expression, *val)
1310
+ end
1311
+ .,.,
1312
+
1313
+ module_eval(<<'.,.,', 'grammar.racc', 298)
1314
+ def _reduce_81(val, _values)
1315
+ n(:Expression, *val)
1316
+ end
1317
+ .,.,
1318
+
1319
+ module_eval(<<'.,.,', 'grammar.racc', 300)
1320
+ def _reduce_82(val, _values)
1321
+ n(:Expression, *val)
1322
+ end
1323
+ .,.,
1324
+
1325
+ module_eval(<<'.,.,', 'grammar.racc', 302)
1326
+ def _reduce_83(val, _values)
1327
+ n(:Expression, *val)
1328
+ end
1329
+ .,.,
1330
+
1331
+ module_eval(<<'.,.,', 'grammar.racc', 304)
1332
+ def _reduce_84(val, _values)
1333
+ n(:Expression, *val)
1334
+ end
1335
+ .,.,
1336
+
1337
+ module_eval(<<'.,.,', 'grammar.racc', 306)
1338
+ def _reduce_85(val, _values)
1339
+ n(:Expression, *val)
1340
+ end
1341
+ .,.,
1342
+
1343
+ module_eval(<<'.,.,', 'grammar.racc', 308)
1344
+ def _reduce_86(val, _values)
1345
+ n(:Expression, *val)
1346
+ end
1347
+ .,.,
1348
+
1349
+ module_eval(<<'.,.,', 'grammar.racc', 310)
1350
+ def _reduce_87(val, _values)
1351
+ n(:Increment, *val[0])
1352
+ end
1353
+ .,.,
1354
+
1355
+ module_eval(<<'.,.,', 'grammar.racc', 312)
1356
+ def _reduce_88(val, _values)
1357
+ n(:Decrement, *val[0])
1358
+ end
1359
+ .,.,
1360
+
1361
+ module_eval(<<'.,.,', 'grammar.racc', 314)
1362
+ def _reduce_89(val, _values)
1363
+ n(:Expression, *val)
1364
+ end
1365
+ .,.,
1366
+
1367
+ module_eval(<<'.,.,', 'grammar.racc', 316)
1368
+ def _reduce_90(val, _values)
1369
+ n(:Expression, *val)
1370
+ end
1371
+ .,.,
1372
+
1373
+ module_eval(<<'.,.,', 'grammar.racc', 318)
1374
+ def _reduce_91(val, _values)
1375
+ n(:Expression, *val)
1376
+ end
1377
+ .,.,
1378
+
1379
+ module_eval(<<'.,.,', 'grammar.racc', 320)
1380
+ def _reduce_92(val, _values)
1381
+ n(:Expression, *val)
1382
+ end
1383
+ .,.,
1384
+
1385
+ module_eval(<<'.,.,', 'grammar.racc', 322)
1386
+ def _reduce_93(val, _values)
1387
+ n(:Expression, *val)
1388
+ end
1389
+ .,.,
1390
+
1391
+ module_eval(<<'.,.,', 'grammar.racc', 324)
1392
+ def _reduce_94(val, _values)
1393
+ n(:Expression, *val)
1394
+ end
1395
+ .,.,
1396
+
1397
+ module_eval(<<'.,.,', 'grammar.racc', 326)
1398
+ def _reduce_95(val, _values)
1399
+ n(:Expression, *val)
1400
+ end
1401
+ .,.,
1402
+
1403
+ module_eval(<<'.,.,', 'grammar.racc', 328)
1404
+ def _reduce_96(val, _values)
1405
+ n(:Expression, *val)
1406
+ end
1407
+ .,.,
1408
+
1409
+ module_eval(<<'.,.,', 'grammar.racc', 330)
1410
+ def _reduce_97(val, _values)
1411
+ n(:Expression, *val)
1412
+ end
1413
+ .,.,
1414
+
1415
+ module_eval(<<'.,.,', 'grammar.racc', 332)
1416
+ def _reduce_98(val, _values)
1417
+ n(:Expression, *val)
1418
+ end
1419
+ .,.,
1420
+
1421
+ module_eval(<<'.,.,', 'grammar.racc', 334)
1422
+ def _reduce_99(val, _values)
1423
+ n(:Assignment, *val[0])
1424
+ end
1425
+ .,.,
1426
+
1427
+ module_eval(<<'.,.,', 'grammar.racc', 336)
1428
+ def _reduce_100(val, _values)
1429
+ val[0]
1430
+ end
1431
+ .,.,
1432
+
1433
+ module_eval(<<'.,.,', 'grammar.racc', 338)
1434
+ def _reduce_101(val, _values)
1435
+ n(:Call, *val[0])
1436
+ end
1437
+ .,.,
1438
+
1439
+ module_eval(<<'.,.,', 'grammar.racc', 340)
1440
+ def _reduce_102(val, _values)
1441
+ val[0]
1442
+ end
1443
+ .,.,
1444
+
1445
+ module_eval(<<'.,.,', 'grammar.racc', 342)
1446
+ def _reduce_103(val, _values)
1447
+ val[0]
1448
+ end
1449
+ .,.,
1450
+
1451
+ module_eval(<<'.,.,', 'grammar.racc', 344)
1452
+ def _reduce_104(val, _values)
1453
+ val[0]
1454
+ end
1455
+ .,.,
1456
+
1457
+ module_eval(<<'.,.,', 'grammar.racc', 346)
1458
+ def _reduce_105(val, _values)
1459
+ val[0]
1460
+ end
1461
+ .,.,
1462
+
1463
+ module_eval(<<'.,.,', 'grammar.racc', 354)
1464
+ def _reduce_106(val, _values)
1465
+ n(:Argument, *val)
1466
+ end
1467
+ .,.,
1468
+
1469
+ module_eval(<<'.,.,', 'grammar.racc', 356)
1470
+ def _reduce_107(val, _values)
1471
+ n(:Argument, *val)
1472
+ end
1473
+ .,.,
1474
+
1475
+ module_eval(<<'.,.,', 'grammar.racc', 360)
1476
+ def _reduce_108(val, _values)
1477
+ n(:Lvalue, *val)
1478
+ end
1479
+ .,.,
1480
+
1481
+ module_eval(<<'.,.,', 'grammar.racc', 362)
1482
+ def _reduce_109(val, _values)
1483
+ n(:Lvalue, *val)
1484
+ end
1485
+ .,.,
1486
+
1487
+ module_eval(<<'.,.,', 'grammar.racc', 370)
1488
+ def _reduce_110(val, _values)
1489
+ [val[0]] + val[2]
1490
+ end
1491
+ .,.,
1492
+
1493
+ module_eval(<<'.,.,', 'grammar.racc', 372)
1494
+ def _reduce_111(val, _values)
1495
+ [val[0]]
1496
+ end
1497
+ .,.,
1498
+
1499
+ module_eval(<<'.,.,', 'grammar.racc', 376)
1500
+ def _reduce_112(val, _values)
1501
+ val[0]
1502
+ end
1503
+ .,.,
1504
+
1505
+ module_eval(<<'.,.,', 'grammar.racc', 378)
1506
+ def _reduce_113(val, _values)
1507
+ val[0]
1508
+ end
1509
+ .,.,
1510
+
1511
+ module_eval(<<'.,.,', 'grammar.racc', 380)
1512
+ def _reduce_114(val, _values)
1513
+ val[0]
1514
+ end
1515
+ .,.,
1516
+
1517
+ module_eval(<<'.,.,', 'grammar.racc', 382)
1518
+ def _reduce_115(val, _values)
1519
+ val[0]
1520
+ end
1521
+ .,.,
1522
+
1523
+ module_eval(<<'.,.,', 'grammar.racc', 384)
1524
+ def _reduce_116(val, _values)
1525
+ nil
1526
+ end
1527
+ .,.,
1528
+
1529
+ module_eval(<<'.,.,', 'grammar.racc', 388)
1530
+ def _reduce_117(val, _values)
1531
+ [val[0]] + val[2]
1532
+ end
1533
+ .,.,
1534
+
1535
+ module_eval(<<'.,.,', 'grammar.racc', 390)
1536
+ def _reduce_118(val, _values)
1537
+ [val[0]]
1538
+ end
1539
+ .,.,
1540
+
1541
+ module_eval(<<'.,.,', 'grammar.racc', 394)
1542
+ def _reduce_119(val, _values)
1543
+ [val[1]] + val[3]
1544
+ end
1545
+ .,.,
1546
+
1547
+ module_eval(<<'.,.,', 'grammar.racc', 396)
1548
+ def _reduce_120(val, _values)
1549
+ [val[1]]
1550
+ end
1551
+ .,.,
1552
+
1553
+ module_eval(<<'.,.,', 'grammar.racc', 400)
1554
+ def _reduce_121(val, _values)
1555
+ [val[0]] + val[2]
1556
+ end
1557
+ .,.,
1558
+
1559
+ module_eval(<<'.,.,', 'grammar.racc', 402)
1560
+ def _reduce_122(val, _values)
1561
+ [val[0]]
1562
+ end
1563
+ .,.,
1564
+
1565
+ module_eval(<<'.,.,', 'grammar.racc', 406)
1566
+ def _reduce_123(val, _values)
1567
+ [val[0]] + val[1]
1568
+ end
1569
+ .,.,
1570
+
1571
+ module_eval(<<'.,.,', 'grammar.racc', 408)
1572
+ def _reduce_124(val, _values)
1573
+ [val[0]]
1574
+ end
1575
+ .,.,
1576
+
1577
+ module_eval(<<'.,.,', 'grammar.racc', 416)
1578
+ def _reduce_125(val, _values)
1579
+ n(:Identifier, *val)
1580
+ end
1581
+ .,.,
1582
+
1583
+ module_eval(<<'.,.,', 'grammar.racc', 418)
1584
+ def _reduce_126(val, _values)
1585
+ n(:Identifier, *val)
1586
+ end
1587
+ .,.,
1588
+
1589
+ module_eval(<<'.,.,', 'grammar.racc', 422)
1590
+ def _reduce_127(val, _values)
1591
+ n(:Integer, *val)
1592
+ end
1593
+ .,.,
1594
+
1595
+ module_eval(<<'.,.,', 'grammar.racc', 424)
1596
+ def _reduce_128(val, _values)
1597
+ n(:Integer, *val)
1598
+ end
1599
+ .,.,
1600
+
1601
+ module_eval(<<'.,.,', 'grammar.racc', 426)
1602
+ def _reduce_129(val, _values)
1603
+ n(:Integer, *val)
1604
+ end
1605
+ .,.,
1606
+
1607
+ module_eval(<<'.,.,', 'grammar.racc', 428)
1608
+ def _reduce_130(val, _values)
1609
+ n(:Integer, *val)
1610
+ end
1611
+ .,.,
1612
+
1613
+ module_eval(<<'.,.,', 'grammar.racc', 430)
1614
+ def _reduce_131(val, _values)
1615
+ n(:Integer, *val)
1616
+ end
1617
+ .,.,
1618
+
1619
+ module_eval(<<'.,.,', 'grammar.racc', 434)
1620
+ def _reduce_132(val, _values)
1621
+ n(:Ip, *val)
1622
+ end
1623
+ .,.,
1624
+
1625
+ module_eval(<<'.,.,', 'grammar.racc', 437)
1626
+ def _reduce_133(val, _values)
1627
+ n(:String, *val)
1628
+ end
1629
+ .,.,
1630
+
1631
+ module_eval(<<'.,.,', 'grammar.racc', 439)
1632
+ def _reduce_134(val, _values)
1633
+ n(:String, *val)
1634
+ end
1635
+ .,.,
1636
+
1637
+ module_eval(<<'.,.,', 'grammar.racc', 443)
1638
+ def _reduce_135(val, _values)
1639
+ n(:Undefined, *val)
1640
+ end
1641
+ .,.,
1642
+
1643
+ def _reduce_none(val, _values)
1644
+ val[0]
1645
+ end
1646
+
1647
+ end # class Grammar
1648
+ end # module Nasl
1649
+
1650
+