antlr4-runtime 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: 005aca7d83ae7448f260d9d41c7f12c8f18ae4f4a5c95ae9b1140f2b3f70e6ee
4
- data.tar.gz: 2a067a0a0a10437f2afbde8b7418e031c8af0eca88542bf696b1ada31c7f47a2
3
+ metadata.gz: 997ff14a7653228bf76c3d4d73fd9142681b71c8b561483612980271994ccda4
4
+ data.tar.gz: 0de09a9522e1be8df33d96c4e7a9ab3f5a1b249bfd387f32711ff7ff76d778a5
5
5
  SHA512:
6
- metadata.gz: 7860511d158e5b19a9eae7d74e402e12c4e73a4024d6258290abdf8e26509d23a3bc2ad8dcc5ca5ae3031acec403f2904654567bbea67f9645854caac69ff378
7
- data.tar.gz: '04095f65b57d2a01d91e2f6b1886d840b3f6323a4d0b84c6c5f9689604fc9083b136325946428591aabab7b1a85dcf8eceebc1a07463e3a4005f696e77cafd79'
6
+ metadata.gz: f9b785bcdea37bfd5503584560edd44cb34f938b674924e17b7105d9b26f2b91321a6e7b275b14de62647693c679207594aba615d13d6403b34abd6803f9aca4
7
+ data.tar.gz: 392d73af0a74e61cde891d94afce425c4283880faf30a140c2bc1488c3ff843e7497417d5e2fceae5ed94bf40bf492bf26c5642e10c67221c0c4eba652714eba
@@ -111,7 +111,7 @@ module Antlr4::Runtime
111
111
  # System.err.println("at loop back: "+s.getClass().getSimpleName())
112
112
  report_unwanted_token(recognizer)
113
113
  expecting = recognizer.expected_tokens
114
- what_follows_loop_iteration_or_rule = expecting || error_recovery_set(recognizer)
114
+ what_follows_loop_iteration_or_rule = expecting.or_sets(error_recovery_set(recognizer))
115
115
  consume_until(recognizer, what_follows_loop_iteration_or_rule)
116
116
 
117
117
  else # do nothing if we can't identify the exact kind of ATN state end
@@ -1,5 +1,5 @@
1
1
  module Antlr4
2
2
  module Runtime
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antlr4-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Walmsley