Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7344554b5f | ||
|
|
77571a3449 | ||
|
|
e098b7e445 |
No files matched your search
+20
-18
@@ -1,34 +1,36 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
diff-lcs (1.5.0)
|
date (3.4.1)
|
||||||
docile (1.4.0)
|
diff-lcs (1.5.1)
|
||||||
psych (5.1.0)
|
docile (1.4.1)
|
||||||
|
psych (5.2.2)
|
||||||
|
date
|
||||||
stringio
|
stringio
|
||||||
rake (13.0.6)
|
rake (13.2.1)
|
||||||
rdoc (6.5.0)
|
rdoc (6.10.0)
|
||||||
psych (>= 4.0.0)
|
psych (>= 4.0.0)
|
||||||
redcarpet (3.6.0)
|
redcarpet (3.6.0)
|
||||||
rspec (3.12.0)
|
rspec (3.13.0)
|
||||||
rspec-core (~> 3.12.0)
|
rspec-core (~> 3.13.0)
|
||||||
rspec-expectations (~> 3.12.0)
|
rspec-expectations (~> 3.13.0)
|
||||||
rspec-mocks (~> 3.12.0)
|
rspec-mocks (~> 3.13.0)
|
||||||
rspec-core (3.12.2)
|
rspec-core (3.13.2)
|
||||||
rspec-support (~> 3.12.0)
|
rspec-support (~> 3.13.0)
|
||||||
rspec-expectations (3.12.3)
|
rspec-expectations (3.13.3)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.12.0)
|
rspec-support (~> 3.13.0)
|
||||||
rspec-mocks (3.12.6)
|
rspec-mocks (3.13.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.12.0)
|
rspec-support (~> 3.13.0)
|
||||||
rspec-support (3.12.1)
|
rspec-support (3.13.2)
|
||||||
simplecov (0.22.0)
|
simplecov (0.22.0)
|
||||||
docile (~> 1.1)
|
docile (~> 1.1)
|
||||||
simplecov-html (~> 0.11)
|
simplecov-html (~> 0.11)
|
||||||
simplecov_json_formatter (~> 0.1)
|
simplecov_json_formatter (~> 0.1)
|
||||||
simplecov-html (0.12.3)
|
simplecov-html (0.13.1)
|
||||||
simplecov_json_formatter (0.1.4)
|
simplecov_json_formatter (0.1.4)
|
||||||
stringio (3.0.7)
|
stringio (3.1.2)
|
||||||
syntax (1.2.2)
|
syntax (1.2.2)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ class Propane
|
|||||||
@rules.each do |rule|
|
@rules.each do |rule|
|
||||||
rule.aliases.each do |alias_name, index|
|
rule.aliases.each do |alias_name, index|
|
||||||
if field_aliases[alias_name] && field_aliases[alias_name] != index
|
if field_aliases[alias_name] && field_aliases[alias_name] != index
|
||||||
raise Error.new("Error: conflicting AST node field positions for alias `#{alias_name}`")
|
raise Error.new("Error: conflicting AST node field positions for alias `#{alias_name}` in rule #{rule.name} defined on line #{rule.line_number}")
|
||||||
end
|
end
|
||||||
field_aliases[alias_name] = index
|
field_aliases[alias_name] = index
|
||||||
@ast_fields[index][alias_name] = @ast_fields[index].first[1]
|
@ast_fields[index][alias_name] = @ast_fields[index].first[1]
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
class Propane
|
class Propane
|
||||||
VERSION = "2.0.0"
|
VERSION = "2.1.0"
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user