antlr4-native 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/antlr4-native/generator.rb +2 -2
- data/lib/antlr4-native/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: 8bed5c4bbb574d8ad5cbef067bee9fff704a1f0bf8d5fa0b522393d5fa771be3
|
4
|
+
data.tar.gz: 44dcb2987d8f3c04bc2f9a4769853b6bdfbf390b0aebdff9fcc783b98a389896
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25961945b37da84af109e20b39728f57108d3e7490165d936898c95a76bec6add1e18086609c0085f14614efcd801b31723a17032a111ec86236f31709f52ec6
|
7
|
+
data.tar.gz: 20e79181660b66a56c94ef35fccd369c7590ed676703854f91aafa7147398fea220fb26c6e7f7ccb1bc3810fcc4c64f0db0018dda887b6344f6ae97930e24f3e
|
@@ -25,7 +25,7 @@ module Antlr4Native
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def gem_name
|
28
|
-
@gem_name ||=
|
28
|
+
@gem_name ||= underscore(parser_ns)
|
29
29
|
end
|
30
30
|
|
31
31
|
def antlr_ns
|
@@ -316,7 +316,7 @@ module Antlr4Native
|
|
316
316
|
<<~END
|
317
317
|
extern "C"
|
318
318
|
void Init_#{ext_name}() {
|
319
|
-
Module rb_m#{parser_ns} = define_module("#{parser_ns}");
|
319
|
+
Module rb_m#{parser_ns} = define_module("#{capitalize(parser_ns)}");
|
320
320
|
|
321
321
|
rb_cToken = define_class_under<Token>(rb_m#{parser_ns}, "Token")
|
322
322
|
.define_method("text", &Token::getText)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antlr4-native
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rice
|