antlr4-runtime 0.2.2 → 0.2.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 +4 -0
- data/lib/antlr4/runtime/buffered_token_stream.rb +2 -2
- data/lib/antlr4/runtime/common_token.rb +1 -1
- data/lib/antlr4/runtime/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5f838157511ca399f3345a7ef863d975bfa314b384a9857988d1ba12b25dec7
|
4
|
+
data.tar.gz: 8a3cb7143cc24821b294a8b4b7057173cb7217c7b1fb5a522240152df3bdc7c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbb44e41cc7bea850e64cd865875f27b638893288b95aa42d632b992a15252b7b361697626fa8198491e7d3b38f32a808b2f4940e7a3aa3f9167151da52e6c46
|
7
|
+
data.tar.gz: e466a2d9d751c2d394d27f8b23d501d90c9f2608a46d8d017f25e4e6643566bc10741082c7ed0799322e6a3f4c80f653d0cb9c5644e67419423304950ba26db3
|
data/CHANGELOG.md
CHANGED
@@ -75,7 +75,7 @@ module Antlr4::Runtime
|
|
75
75
|
i = 0
|
76
76
|
while i < n
|
77
77
|
t = @token_source.next_token
|
78
|
-
t.
|
78
|
+
t.index = @tokens.length if t.is_a? WritableToken
|
79
79
|
@tokens << t
|
80
80
|
if t.type == Token::EOF
|
81
81
|
@fetched_eof = true
|
@@ -303,7 +303,7 @@ module Antlr4::Runtime
|
|
303
303
|
break if t.type == Token::EOF
|
304
304
|
|
305
305
|
buf << t.text
|
306
|
-
|
306
|
+
i += 1
|
307
307
|
end
|
308
308
|
buf
|
309
309
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antlr4-runtime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Walmsley
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|