ruby-ll 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/c/driver.c +15 -4
- data/lib/ll/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d49084634bb74f2dbcb1a7b5879b4dc04834eaa5b8fb9b6320f27bb5b3a163a
|
4
|
+
data.tar.gz: 6bb604c577c149786c6786620eb7051ded78c0abbecfaa948dcaa668b276cad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 699326ad786887699f305388f7dca6dab8da10492f4f2dc49f7633cce7a8125c087f78a1a3bc31a8547c916ca51175801090c4eecd852a8a6b790a039af9da8a
|
7
|
+
data.tar.gz: 1cbb1b087c2b404b3fc942f148a5c6d9aa0b4289132193cd73a10cef7758e489881733e04e622b49ca4480c878f51955944d287334c2fc2f7e8f79bbad385012
|
data/ext/c/driver.c
CHANGED
@@ -60,13 +60,24 @@ VALUE ll_driver_allocate(VALUE klass)
|
|
60
60
|
}
|
61
61
|
|
62
62
|
/**
|
63
|
-
* Callback function for iterating over every input token and
|
64
|
-
*
|
63
|
+
* Callback function for iterating over every input token and parsing it.
|
64
|
+
*
|
65
|
+
* This function is intended to be used as a block callback for Ruby's
|
66
|
+
* `rb_block_call`, and processes a single token per invocation.
|
65
67
|
*
|
66
68
|
* @param token An Array containing the token type as a Symbol and its value.
|
67
69
|
* @param self The Driver instance currently in use.
|
70
|
+
* @param argc The number of additional arguments passed to the block.
|
71
|
+
* @param argv The array of additional arguments passed to the block.
|
72
|
+
* @param block_arg The block argument passed from Ruby (if any).
|
68
73
|
*/
|
69
|
-
VALUE ll_driver_each_token(
|
74
|
+
VALUE ll_driver_each_token(
|
75
|
+
VALUE token,
|
76
|
+
VALUE self,
|
77
|
+
int argc,
|
78
|
+
const VALUE *argv,
|
79
|
+
VALUE block_arg
|
80
|
+
)
|
70
81
|
{
|
71
82
|
VALUE method;
|
72
83
|
VALUE action_args;
|
@@ -326,7 +337,7 @@ VALUE ll_driver_parse(VALUE self)
|
|
326
337
|
id_each_token,
|
327
338
|
0,
|
328
339
|
NULL,
|
329
|
-
|
340
|
+
ll_driver_each_token,
|
330
341
|
self
|
331
342
|
);
|
332
343
|
|
data/lib/ll/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-ll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: ast
|
@@ -193,7 +192,6 @@ homepage: https://github.com/yorickpeterse/ruby-ll
|
|
193
192
|
licenses:
|
194
193
|
- MPL-2.0
|
195
194
|
metadata: {}
|
196
|
-
post_install_message:
|
197
195
|
rdoc_options: []
|
198
196
|
require_paths:
|
199
197
|
- lib
|
@@ -208,8 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
206
|
- !ruby/object:Gem::Version
|
209
207
|
version: '0'
|
210
208
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
212
|
-
signing_key:
|
209
|
+
rubygems_version: 3.6.9
|
213
210
|
specification_version: 4
|
214
211
|
summary: An LL(1) parser generator for Ruby.
|
215
212
|
test_files: []
|