parser 2.3.0.0 → 2.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fcc0b8421a588c61ea9d3969ec4f0e1f13c7d8e
4
- data.tar.gz: 241d5a150edb29c9f95c7ecd4361d6e2fd4bc4d3
3
+ metadata.gz: 452a2098780caf4b2b9d00870b2791ae4e1db7e4
4
+ data.tar.gz: a3ec510fb0160c8bfa9f29b0f80edcd4705db85d
5
5
  SHA512:
6
- metadata.gz: a4f18eb04354a0230053a4b11db78aef983aebcad4a5edd65688a55b42e3410e9ff73d7f2a1ccb95b249c4e9ed210fdd194168aaa2bb9977a3b4d13eb0521ad2
7
- data.tar.gz: 3125b274c9f3040d30494112d95c3788800be632508068421b583d22e04851e45b8a886cdc73bc4359648494847d3e76920682fde0d868f26cc7d660335ca840
6
+ metadata.gz: b3322d4861c4c33a1381791f977928cba01428ee3153fb489cc1aed0ec88bb5c03570cfa448b073b1f6dc5776eb4aed6ef796b81aa5a607dae18439fec36b6c4
7
+ data.tar.gz: b490d684a3ee85df2ae7b9700195bee2792fe44273104535080bc22ab5ffbcd7ef351ec8d143e11829579005288606e4af2b5cbd2ff11a3bb824bbb6583d4908
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ v2.3.0.0 (2016-01-14)
5
+ ---------------------
6
+
7
+ Features implemented:
8
+ * parser/current: update for released 2.3. (whitequark)
9
+ * parse.y: "\<\<~HEREDOC": implement dedenting heredocs (fixes #228). (whitequark)
10
+
4
11
  v2.3.0.pre.6 (2015-12-20)
5
12
  -------------------------
6
13
 
data/README.md CHANGED
@@ -100,7 +100,7 @@ with Parser:
100
100
  * Precise source location reporting.
101
101
  * [Documented](doc/AST_FORMAT.md) AST format which is convenient to work with.
102
102
  * A simple interface and a powerful, tweakable one.
103
- * Parses 1.8, 1.9, 2.0, 2.1 and 2.2 syntax with backwards-compatible
103
+ * Parses 1.8, 1.9, 2.0, 2.1, 2.2 and 2.3 syntax with backwards-compatible
104
104
  AST formats.
105
105
  * Parses MacRuby and RubyMotion syntax extensions.
106
106
  * [Rewriting][rewriting] support.
@@ -120,7 +120,7 @@ with Parser:
120
120
 
121
121
  ## Documentation
122
122
 
123
- Documentation for parser is available [online](https://whitequark.github.io/parser/).
123
+ Documentation for Parser is available [online](https://whitequark.github.io/parser/).
124
124
 
125
125
  ### Node names
126
126
 
@@ -255,7 +255,7 @@ No known code is affected by this issue.
255
255
 
256
256
  ## Contributors
257
257
 
258
- * Peter Zotov ([whitequark][])
258
+ * [whitequark][]
259
259
  * Markus Schirp ([mbj][])
260
260
  * Yorick Peterse ([yorickpeterse][])
261
261
  * Magnus Holm ([judofyr][])
data/lib/parser/ruby23.y CHANGED
@@ -1942,11 +1942,7 @@ keyword_variable: kNIL
1942
1942
  result = @builder.back_ref(val[0])
1943
1943
  }
1944
1944
 
1945
- superclass: term
1946
- {
1947
- result = nil
1948
- }
1949
- | tLT
1945
+ superclass: tLT
1950
1946
  {
1951
1947
  @lexer.state = :expr_value
1952
1948
  }
@@ -1954,9 +1950,8 @@ keyword_variable: kNIL
1954
1950
  {
1955
1951
  result = [ val[0], val[2] ]
1956
1952
  }
1957
- | error term
1953
+ | # nothing
1958
1954
  {
1959
- yyerrok
1960
1955
  result = nil
1961
1956
  }
1962
1957
 
@@ -1,3 +1,3 @@
1
1
  module Parser
2
- VERSION = '2.3.0.0'
2
+ VERSION = '2.3.0.1'
3
3
  end
data/test/test_parser.rb CHANGED
@@ -1672,6 +1672,15 @@ class TestParser < Minitest::Test
1672
1672
  %q{~~~~~ keyword
1673
1673
  | ~~~ name
1674
1674
  | ~~~ end})
1675
+
1676
+ assert_parses(
1677
+ s(:class,
1678
+ s(:const, nil, :Foo),
1679
+ nil,
1680
+ nil),
1681
+ %q{class Foo end},
1682
+ %q{},
1683
+ ALL_VERSIONS - %w(1.8 1.9 2.0 2.1 2.2 mac ios))
1675
1684
  end
1676
1685
 
1677
1686
  def test_class_super
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0.0
4
+ version: 2.3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - whitequark
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
354
  version: '0'
355
355
  requirements: []
356
356
  rubyforge_project:
357
- rubygems_version: 2.5.1
357
+ rubygems_version: 2.4.1
358
358
  signing_key:
359
359
  specification_version: 4
360
360
  summary: A Ruby parser written in pure Ruby.