kaiseki 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/kaiseki.rb +2 -2
  2. data/lib/parser_repeat.rb +3 -0
  3. metadata +3 -3
data/lib/kaiseki.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Kaiseki
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  file_path = File.dirname __FILE__
4
4
 
5
5
  #load basic kaiseki classes
@@ -52,4 +52,4 @@ module Kaiseki
52
52
  require file_path + '/var_set'
53
53
  require file_path + '/var_get'
54
54
  require file_path + '/var_insert'
55
- end
55
+ end
data/lib/parser_repeat.rb CHANGED
@@ -18,8 +18,11 @@ module Kaiseki
18
18
  begin
19
19
  catch :SkipSuccess do
20
20
  result << @expected.parse(stream, options)
21
+ count += 1
22
+ next
21
23
  end
22
24
  count += 1
25
+ break if max.nil?
23
26
  rescue ParseError
24
27
  if options[:skipping]
25
28
  begin
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - William Hamilton-Levi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-21 00:00:00 -05:00
17
+ date: 2010-12-24 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20