parse-framework 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/parse.rb +1 -1
- metadata +2 -2
data/lib/parse.rb
CHANGED
@@ -192,7 +192,7 @@ class Parse
|
|
192
192
|
begin
|
193
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} #{
|
195
|
+
if $DEBUG then t = if r.nil? then "(with nil)" else "(with #{r.class.to_s})" end; STDERR.puts("#{pos.file}:#{pos.line+1}:#{pos.column+1}: exiting rule :#{name} #{t}"); end
|
196
196
|
r
|
197
197
|
ensure
|
198
198
|
@rule_start_pos = old_rule_start_pos
|
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.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'The framework for building parsers. It features position tracking
|
15
15
|
and automatic
|