bel_parser 1.0.0.alpha.4 → 1.0.0.alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/bel_parser/language/syntax/undefined_namespace.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ddb397fcf12e876d078e3a6a239479e0f3913d3
|
4
|
+
data.tar.gz: 65b412663bfd2e0d19fe5a3e6224f9776881cb3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7156e7a60e8bd45615b8f8d8651071b08187c30bfea4c5726600ea277b0d47b8981ef255a023b0f086f4619f4096c622e9b1cc9bedd40e41321e1542f881cc0
|
7
|
+
data.tar.gz: d16d66850d29718f589e772ed0a5fbc32221d3ce7157c103ca6e6969a0ffdbc51e559ad7bb1e31c7200a0dcf44160f9346c028760413eaa5a276a2fa32bef274
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.alpha.
|
1
|
+
1.0.0.alpha.5
|
@@ -21,7 +21,8 @@ module BELParser
|
|
21
21
|
|
22
22
|
namespace_prefix = prefix_identifier.string_literal
|
23
23
|
unless namespaces[namespace_prefix]
|
24
|
-
syntax_results << UndefinedNamespaceError.new(
|
24
|
+
syntax_results << UndefinedNamespaceError.new(
|
25
|
+
term_node, spec, namespace_prefix, namespaces)
|
25
26
|
end
|
26
27
|
end
|
27
28
|
syntax_results
|
@@ -37,7 +38,7 @@ module BELParser
|
|
37
38
|
attr_reader :defined_namespaces
|
38
39
|
|
39
40
|
def initialize(term_node, spec, invalid_prefix, defined_namespaces)
|
40
|
-
super(term_node, spec
|
41
|
+
super(term_node, spec)
|
41
42
|
@invalid_prefix = invalid_prefix
|
42
43
|
@defined_namespaces = defined_namespaces.dup
|
43
44
|
end
|