ruco-cpp 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruco/version.rb +1 -1
- data/lib/ruco.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd02aab39c8ca80296b524780c2cacdab4f6fde
|
4
|
+
data.tar.gz: 5940bd0cb9e5173dfacdc3f571ec62ec2ccf340b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a7441c1e9aa1863e09905b25dcfa5b32e386bc6004ff09c5b4e01cc7e210f6c64e51e4367aebca0735f97c386d7f01a1e37c53c190ad82713ac52f5a686d883
|
7
|
+
data.tar.gz: 7d2842ffb6cb52cba96ae6ca9160d5b1e151e2950162c10279ed6cc536c6ebd45b63ed104e13d42ec1518f09fa64a97fa484fbcfb373adde5682dcf5a0daf950
|
data/lib/ruco/version.rb
CHANGED
data/lib/ruco.rb
CHANGED
@@ -240,7 +240,7 @@ module Ruco
|
|
240
240
|
@productions[name] = p
|
241
241
|
end
|
242
242
|
|
243
|
-
def token(name, type, definitionstring)
|
243
|
+
def token(name, type, definitionstring=nil)
|
244
244
|
p = Production.new(name)
|
245
245
|
case type
|
246
246
|
when :pascal_case
|
@@ -652,9 +652,9 @@ namespace #{@name}
|
|
652
652
|
#{function_declarations}
|
653
653
|
#{functions}
|
654
654
|
|
655
|
-
picojson::value Jsonify(
|
655
|
+
picojson::value Jsonify(#{prodname}Ptr parseResult)
|
656
656
|
{
|
657
|
-
return picojson::value(
|
657
|
+
return picojson::value(Compile#{prodname}(parseResult));
|
658
658
|
}
|
659
659
|
|
660
660
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruco-cpp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Siaw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
189
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.
|
190
|
+
rubygems_version: 2.6.14
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: Boilerplate generator for Coco/R
|