parse-framework 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/parse.rb +2 -3
  2. metadata +1 -1
data/lib/parse.rb CHANGED
@@ -190,9 +190,9 @@ class Parse
190
190
  old_rule_start_pos = @rule_start_pos
191
191
  @rule_start_pos = pos
192
192
  begin
193
- if $DEBUG then STDERR.puts("#{pos.file}:#{pos.line+1}:#{pos.column+1}: entering rule :#{name} (with obj)"); end
193
+ if $DEBUG then STDERR.puts("#{pos.file}:#{pos.line+1}:#{pos.column+1}: entering rule :#{name}"); end
194
194
  r = instance_eval(&body)
195
- if $DEBUG then STDERR.puts("#{pos.file}:#{pos.line+1}:#{pos.column+1}: exiting rule :#{name} #{if r.nil? then "(with nil)" end}"); end
195
+ if $DEBUG then STDERR.puts("#{pos.file}:#{pos.line+1}:#{pos.column+1}: exiting rule :#{name} #{if r.nil? then "(with nil)" else "(with #{r.class.to_s})" end}"); end
196
196
  r
197
197
  ensure
198
198
  @rule_start_pos = old_rule_start_pos
@@ -609,4 +609,3 @@ end
609
609
  # rescue Parse::Error => e
610
610
  # puts "error: #{e.pos.file}:#{e.pos.line}:#{e.pos.column}: #{e.message}"
611
611
  # end
612
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parse-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: