racc 1.4.7 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@
10
10
  #
11
11
 
12
12
  module Racc
13
- VERSION = '1.4.7'
13
+ VERSION = '1.4.8'
14
14
  Version = VERSION
15
15
  Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
16
16
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # $Id: 4c1690f648d6f4b195cbd631a5e1af301727a241 $
2
+ # $Id: 3c349a9555848157adc107a876aaa77db47b6459 $
3
3
  #
4
4
  # Copyright (c) 1999-2006 Minero Aoki
5
5
  #
@@ -328,6 +328,7 @@ module Racc
328
328
  end
329
329
 
330
330
  def serialize_integer_list_compressed(name, table)
331
+ # TODO: this can be made a LOT more clean with a simple split/map
331
332
  sep = "\n"
332
333
  nsep = ",\n"
333
334
  buf = ''
@@ -351,7 +352,7 @@ module Racc
351
352
  line ' ]'
352
353
 
353
354
  @f.print(<<-End)
354
- #{name} = arr = Array.new(#{table.size}, nil)
355
+ #{name} = arr = ::Array.new(#{table.size}, nil)
355
356
  idx = 0
356
357
  clist.each do |str|
357
358
  str.split(',', -1).each do |i|
metadata CHANGED
@@ -1,73 +1,65 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: racc
3
- version: !ruby/object:Gem::Version
4
- hash: 9
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.8
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 4
9
- - 7
10
- version: 1.4.7
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Aaron Patterson
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-10-19 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake-compiler
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70145906201240 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 13
29
- segments:
30
- - 0
31
- - 4
32
- - 1
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 0.4.1
34
22
  type: :development
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: hoe
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70145906201240
25
+ - !ruby/object:Gem::Dependency
26
+ name: rdoc
27
+ requirement: &70145906200460 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '3.10'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70145906200460
36
+ - !ruby/object:Gem::Dependency
37
+ name: hoe
38
+ requirement: &70145906199740 !ruby/object:Gem::Requirement
40
39
  none: false
41
- requirements:
40
+ requirements:
42
41
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 27
45
- segments:
46
- - 2
47
- - 12
48
- version: "2.12"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.13'
49
44
  type: :development
50
- version_requirements: *id002
51
- description: |-
52
- Racc is a LALR(1) parser generator.
53
- It is written in Ruby itself, and generates Ruby program.
54
-
55
- NOTE: Ruby 1.8.x comes with Racc runtime module. You
56
- can run your parsers generated by racc 1.4.x out of the
57
- box.
58
- email:
45
+ prerelease: false
46
+ version_requirements: *70145906199740
47
+ description: ! "Racc is a LALR(1) parser generator.\n It is written in Ruby itself,
48
+ and generates Ruby program.\n\n NOTE: Ruby 1.8.x comes with Racc runtime module.
49
+ \ You\n can run your parsers generated by racc 1.4.x out of the\n box."
50
+ email:
59
51
  - aaron@tenderlovemaking.com
60
- executables:
52
+ executables:
61
53
  - racc
62
54
  - racc2y
63
55
  - y2racc
64
- extensions:
56
+ extensions:
65
57
  - ext/racc/extconf.rb
66
- extra_rdoc_files:
58
+ extra_rdoc_files:
67
59
  - Manifest.txt
68
60
  - README.ja.rdoc
69
61
  - README.rdoc
70
- files:
62
+ files:
71
63
  - COPYING
72
64
  - ChangeLog
73
65
  - DEPENDS
@@ -176,39 +168,31 @@ files:
176
168
  - .gemtest
177
169
  homepage: http://i.loveruby.net/en/projects/racc/
178
170
  licenses: []
179
-
180
171
  post_install_message:
181
- rdoc_options:
172
+ rdoc_options:
182
173
  - --main
183
174
  - README.rdoc
184
- require_paths:
175
+ require_paths:
185
176
  - lib
186
- required_ruby_version: !ruby/object:Gem::Requirement
177
+ required_ruby_version: !ruby/object:Gem::Requirement
187
178
  none: false
188
- requirements:
189
- - - ">="
190
- - !ruby/object:Gem::Version
191
- hash: 3
192
- segments:
193
- - 0
194
- version: "0"
195
- required_rubygems_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
196
184
  none: false
197
- requirements:
198
- - - ">="
199
- - !ruby/object:Gem::Version
200
- hash: 3
201
- segments:
202
- - 0
203
- version: "0"
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
204
189
  requirements: []
205
-
206
190
  rubyforge_project: racc
207
- rubygems_version: 1.8.10
191
+ rubygems_version: 1.8.11
208
192
  signing_key:
209
193
  specification_version: 3
210
194
  summary: Racc is a LALR(1) parser generator
211
- test_files:
195
+ test_files:
212
196
  - test/test_chk_y.rb
213
197
  - test/test_grammar_file_parser.rb
214
198
  - test/test_racc_command.rb