racc 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/racc/cparse/cparse.c +1 -1
- data/lib/racc/info.rb +1 -1
- data/lib/racc/parser-text.rb +2 -2
- data/lib/racc/parserfilegenerator.rb +2 -2
- 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: fba393652c1d3985ab81995a21479b631033fb841e618a841d38599601a3617c
|
4
|
+
data.tar.gz: f2d149e9c9fc8ba4f477415f0110e14ed50bc81cf541f7b62590569e8625889a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d51b4bf2b55ac89e120c5b1c7d7d930c90c8a354c2c067c1d907ae0c00d85d14b7f3964097311bd8eced2f6d803204fc7046367dc64dadff410fa02c9648492b
|
7
|
+
data.tar.gz: 9f12d87e35b1c3c2f0d8379ac570085b9ebd20716974bc512b5fb7c431a67998e4a09897b6a5cbcbe7d67436bee49f9d63399524df36a722a03293f68526881a
|
data/ext/racc/cparse/cparse.c
CHANGED
data/lib/racc/info.rb
CHANGED
data/lib/racc/parser-text.rb
CHANGED
@@ -13,7 +13,7 @@ module Racc
|
|
13
13
|
#++
|
14
14
|
|
15
15
|
unless $".find {|p| p.end_with?('/racc/info.rb')}
|
16
|
-
$".push
|
16
|
+
$".push "#{__dir__}/racc/info.rb"
|
17
17
|
#--
|
18
18
|
#
|
19
19
|
#
|
@@ -27,7 +27,7 @@ $".push 'racc/info.rb'
|
|
27
27
|
#++
|
28
28
|
|
29
29
|
module Racc
|
30
|
-
VERSION = '1.
|
30
|
+
VERSION = '1.7.1'
|
31
31
|
Version = VERSION
|
32
32
|
Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
|
33
33
|
end
|
@@ -135,8 +135,8 @@ module Racc
|
|
135
135
|
|
136
136
|
def embed_library(src)
|
137
137
|
line %[###### #{src.filename} begin]
|
138
|
-
line %[unless $".
|
139
|
-
line %[$".push
|
138
|
+
line %[unless $".find {|p| p.end_with?('/#{src.filename}')}]
|
139
|
+
line %[$".push "\#{__dir__}/#{src.filename}"]
|
140
140
|
put src, @params.convert_line?
|
141
141
|
line %[end]
|
142
142
|
line %[###### #{src.filename} end]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: racc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minero Aoki
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-06-
|
12
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |
|
15
15
|
Racc is a LALR(1) parser generator.
|