raabro 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/CREDITS.md +1 -0
- data/lib/raabro.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aacf8b3ef595904e286ba4ed9544c3e7901e8815479a1a01cb70e02f40e03eda
|
4
|
+
data.tar.gz: b359e9b7c05039623d288dfc69c931b2b38e2ae8ee1c3e211d66f9218c12e32e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f31a3a5db74555d01b7d6a384ab4bd91dbf5beec8544aa99d7b012a60ce87767b51c1f6e74dd81e5c99b56eaea1bd0cb3cc1096452d58119a1fc33ada07e803e
|
7
|
+
data.tar.gz: 75b99b8c242258baab31f85d325585ad5c611ec0d98ce80110a1972d2b39762b035cb49fc66b0964b32edf8a1867b6a858756836ab40da6625921af8afd4eb3f
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
data/lib/raabro.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
module Raabro
|
3
3
|
|
4
|
-
VERSION = '1.3.
|
4
|
+
VERSION = '1.3.3'
|
5
5
|
|
6
6
|
class Input
|
7
7
|
|
@@ -172,7 +172,7 @@ module Raabro
|
|
172
172
|
.collect(&:inspect).join('/')
|
173
173
|
"parsing failed .../#{path}"
|
174
174
|
else
|
175
|
-
|
175
|
+
'parsing failed, not all input was consumed'
|
176
176
|
end
|
177
177
|
visual =
|
178
178
|
visual(line, column)
|
@@ -182,7 +182,7 @@ module Raabro
|
|
182
182
|
|
183
183
|
def lookup_error(stack=[])
|
184
184
|
|
185
|
-
#print
|
185
|
+
#print 'le(): '; Raabro.pp(self, colors: true)
|
186
186
|
return nil if @result != 0
|
187
187
|
return [ self, stack ] if @children.empty?
|
188
188
|
@children.each { |c|
|
@@ -565,7 +565,7 @@ module Raabro
|
|
565
565
|
|
566
566
|
def rewrite(tree)
|
567
567
|
|
568
|
-
return !! methods.find { |m| m.to_s.
|
568
|
+
return !! methods.find { |m| m.to_s.start_with?('rewrite_') } if tree == 0
|
569
569
|
# return true when "rewrite_xxx" methods seem to have been provided
|
570
570
|
|
571
571
|
send("rewrite_#{tree.name}", tree)
|