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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83eaf1d816f42411052e1a42c2e298aacb46e3bdaf26836394627187376376e4
4
- data.tar.gz: 67d6da502e64593608d7b110c63f80cadecc4cf6ab7042282b773d53f223b34b
3
+ metadata.gz: fba393652c1d3985ab81995a21479b631033fb841e618a841d38599601a3617c
4
+ data.tar.gz: f2d149e9c9fc8ba4f477415f0110e14ed50bc81cf541f7b62590569e8625889a
5
5
  SHA512:
6
- metadata.gz: 7d9d70abfc3a7845b04eba643c6398924ad4239079d29ab223d67b2d723bebc61500f0fc6c5916fd296b4b1bf6f5928a9788df232b5b5dbe435ff1d0c1f7b1ee
7
- data.tar.gz: dccad491523703f9c0d95502fee6e75ffeb7535f09e7bea39fd12f676a004ae8385d85a5a2d40e164d85b9e38cbdbfe0b43eba8b22ac19e0727b9a53eb839e6c
6
+ metadata.gz: d51b4bf2b55ac89e120c5b1c7d7d930c90c8a354c2c067c1d907ae0c00d85d14b7f3964097311bd8eced2f6d803204fc7046367dc64dadff410fa02c9648492b
7
+ data.tar.gz: 9f12d87e35b1c3c2f0d8379ac570085b9ebd20716974bc512b5fb7c431a67998e4a09897b6a5cbcbe7d67436bee49f9d63399524df36a722a03293f68526881a
@@ -22,7 +22,7 @@
22
22
  Important Constants
23
23
  ----------------------------------------------------------------------- */
24
24
 
25
- #define RACC_VERSION "1.6.2"
25
+ #define RACC_VERSION "1.7.1"
26
26
 
27
27
  #define DEFAULT_TOKEN -1
28
28
  #define ERROR_TOKEN 1
data/lib/racc/info.rb CHANGED
@@ -11,7 +11,7 @@
11
11
  #++
12
12
 
13
13
  module Racc
14
- VERSION = '1.7.0'
14
+ VERSION = '1.7.1'
15
15
  Version = VERSION
16
16
  Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
17
17
  end
@@ -13,7 +13,7 @@ module Racc
13
13
  #++
14
14
 
15
15
  unless $".find {|p| p.end_with?('/racc/info.rb')}
16
- $".push 'racc/info.rb'
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.6.2'
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 $".index '#{src.filename}']
139
- line %[$".push '#{src.filename}']
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.0
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-08 00:00:00.000000000 Z
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.