antlr4-runtime 0.2.5 → 0.2.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b38d26d578cdb87243bc517696a46e60579291dfe769cd427e52b8ae2690066
|
4
|
+
data.tar.gz: 92670e50fd85ad230cab53372a62e3d1da6908a630a5e9a551ea21c4836e0ad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24d29549a381961343ce63961e5897deab88691636ca8962faa00923a59153da08926074cf3584a96d450c1b942ad3974d916b79fef13a74ee3cc806b4f11a57
|
7
|
+
data.tar.gz: 5b61d46c92f92802cfafb8b07a5e98f4460d9a0d734f97ecd1e590c276f66610fb675185272a2f2a902fa82933f89037f5fde09242c79b289ee48ee7d15fab8a
|
data/CHANGELOG.md
CHANGED
@@ -115,10 +115,6 @@ module Antlr4::Runtime
|
|
115
115
|
# ATN states in SLL implies LL will also get nowhere.
|
116
116
|
# If conflict in states that dip out, choose min since we
|
117
117
|
# will get error no matter what.
|
118
|
-
input.seek(start_index)
|
119
|
-
alt = syn_valid_or_sem_invalid_alt_that_finished_decision_entry_rule(previous_d.configs, outer_ctx)
|
120
|
-
return alt if alt != ATN::INVALID_ALT_NUMBER
|
121
|
-
|
122
118
|
exc = NoViableAltException.new
|
123
119
|
exc.recognizer = @parser
|
124
120
|
exc.input = input
|
@@ -126,6 +122,11 @@ module Antlr4::Runtime
|
|
126
122
|
exc.start_token = input.get(start_index)
|
127
123
|
exc.offending_token = input.lt(1)
|
128
124
|
exc.dead_end_configs = previous_d.configs
|
125
|
+
|
126
|
+
input.seek(start_index)
|
127
|
+
alt = syn_valid_or_sem_invalid_alt_that_finished_decision_entry_rule(previous_d.configs, outer_ctx)
|
128
|
+
return alt if alt != ATN::INVALID_ALT_NUMBER
|
129
|
+
|
129
130
|
raise exc
|
130
131
|
end
|
131
132
|
|
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.6
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|