racc 1.7.0-java → 1.7.1-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9780e9de983d49490e5499fc1c569b48da480f7c65ca9b9c5148e5b266bff612
4
- data.tar.gz: 31ccd09e9a61a9ba1e2aaeb7e1455f6b3873b3471f43b0ede48429f5a20de906
3
+ metadata.gz: 5e1f787053b9d2ca9e1af8423b23fa20e23b3680906b312d70e83e5e1afb62c0
4
+ data.tar.gz: ea654c9c32f3af816b2732bb3363a68621727fa14e2061a46508f0fac2a34b6a
5
5
  SHA512:
6
- metadata.gz: 14bf3e6b43e3ab10d137fc722f4193b5a49bb60990aca86c63afbb073035ffec7eefe89892267f77c6acb827138a3f6bc64138dabdf4c4e790cce1e2f9a6525d
7
- data.tar.gz: 82089fbadae74600b8cb9a9e15ab0f303af9e0d7cb19a2db66479843170814889c58f832885a295dc009dca120dcde5852da9a0b2263003267949b99300a9b8e
6
+ metadata.gz: 349ead791d4de3a0c2f74af4bb43bb1663b0b3196fa76e511d33a9bfe18f1706803aa2aaf972a2fa1f56ea70a2662d45c4f2765997500be882302bf99bb51b24
7
+ data.tar.gz: e5ddb322e8bb9dc2ec4920e8c2852195f81a4ea37d5d0255ae87269de68eb1108b25e86facf67bd3f738648e3320c99184836dd2b3b8251b3e21709677089ea6
@@ -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
Binary file
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: java
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.