@appthreat/atom-parsetools 1.1.1 → 1.1.3
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.
- package/astgen.js +52 -21
- package/package.json +1 -1
- package/plugins/composer/installed.php +6 -6
- package/plugins/composer.json +5 -0
- package/plugins/composer.lock +77 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.7.0/gem_make.out +6 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.7.0/mkmf.log +6 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.7.0/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/gem_make.out +6 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/racc/cparse.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext/prism/Makefile +3 -3
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
package/astgen.js
CHANGED
|
@@ -267,43 +267,53 @@ const toEjsAst = (file) => {
|
|
|
267
267
|
const openLen = match[1].length;
|
|
268
268
|
arr[openStart] = "<";
|
|
269
269
|
arr[openStart + 1] = "%";
|
|
270
|
-
for (let i = 2; i < openLen; i++)
|
|
271
|
-
arr[openStart + i] = " ";
|
|
272
|
-
}
|
|
270
|
+
for (let i = 2; i < openLen; i++) arr[openStart + i] = " ";
|
|
273
271
|
const closeStart = match.index + match[0].length - match[3].length;
|
|
274
272
|
const closeLen = match[3].length;
|
|
275
273
|
arr[closeStart] = "%";
|
|
276
274
|
arr[closeStart + 1] = ">";
|
|
277
|
-
for (let i = 2; i < closeLen; i++)
|
|
278
|
-
arr[closeStart + i] = " ";
|
|
279
|
-
}
|
|
275
|
+
for (let i = 2; i < closeLen; i++) arr[closeStart + i] = " ";
|
|
280
276
|
const content = match[2];
|
|
281
277
|
const contentOffset = openStart + openLen;
|
|
282
278
|
const innerRegex = /(<%[=\-_#]?)([\s\S]*?)([-_#]?%>)/g;
|
|
283
279
|
let innerMatch;
|
|
284
280
|
while ((innerMatch = innerRegex.exec(content)) !== null) {
|
|
285
281
|
const innerAbsStart = contentOffset + innerMatch.index;
|
|
286
|
-
|
|
287
|
-
|
|
282
|
+
if (innerMatch[1] === "<%" && innerMatch[3] === "-%>") {
|
|
283
|
+
for (let k = 0; k < innerMatch[0].length; k++)
|
|
284
|
+
arr[innerAbsStart + k] = " ";
|
|
285
|
+
} else {
|
|
286
|
+
for (let k = 0; k < innerMatch[1].length; k++)
|
|
287
|
+
arr[innerAbsStart + k] = " ";
|
|
288
|
+
const endDelimStart =
|
|
289
|
+
innerAbsStart + innerMatch[0].length - innerMatch[3].length;
|
|
290
|
+
for (let k = 0; k < innerMatch[3].length; k++)
|
|
291
|
+
arr[endDelimStart + k] = " ";
|
|
288
292
|
}
|
|
289
293
|
}
|
|
290
294
|
}
|
|
295
|
+
|
|
291
296
|
const codeWithoutScriptTag = arr.join("");
|
|
292
297
|
const out = new Array(codeWithoutScriptTag.length).fill(" ");
|
|
293
298
|
for (let i = 0; i < codeWithoutScriptTag.length; i++) {
|
|
294
299
|
const c = codeWithoutScriptTag[i];
|
|
295
300
|
if (c === "\n" || c === "\r") out[i] = c;
|
|
296
301
|
}
|
|
302
|
+
|
|
297
303
|
const tagRegex = /(<%[=\-_#]?)([\s\S]*?)([-_#]?%>)/g;
|
|
298
304
|
let tagMatch;
|
|
299
305
|
while ((tagMatch = tagRegex.exec(codeWithoutScriptTag)) !== null) {
|
|
300
306
|
const [fullMatch, openTag, content, closeTag] = tagMatch;
|
|
301
307
|
if (openTag === "<%#" || content.trim().startsWith("include ")) continue;
|
|
308
|
+
|
|
302
309
|
let processedContent = content.trim();
|
|
310
|
+
let isTransformed = false;
|
|
303
311
|
if (processedContent === "end") {
|
|
304
312
|
processedContent = "}";
|
|
313
|
+
isTransformed = true;
|
|
305
314
|
} else if (processedContent === "else") {
|
|
306
315
|
processedContent = "} else {";
|
|
316
|
+
isTransformed = true;
|
|
307
317
|
} else if (processedContent.startsWith("else if")) {
|
|
308
318
|
let sub = processedContent.substring(4).trim();
|
|
309
319
|
const controlMatch = sub.match(/^(if)\s+(?!\()(.+)$/);
|
|
@@ -311,6 +321,7 @@ const toEjsAst = (file) => {
|
|
|
311
321
|
sub = `if (${controlMatch[2]})`;
|
|
312
322
|
}
|
|
313
323
|
processedContent = `} else ${sub} {`;
|
|
324
|
+
isTransformed = true;
|
|
314
325
|
} else {
|
|
315
326
|
const controlMatch = processedContent.match(
|
|
316
327
|
/^(if|while|for)\s+(?!\()(.+)$/
|
|
@@ -319,6 +330,7 @@ const toEjsAst = (file) => {
|
|
|
319
330
|
const keyword = controlMatch[1];
|
|
320
331
|
const condition = controlMatch[2];
|
|
321
332
|
processedContent = `${keyword} (${condition})`;
|
|
333
|
+
isTransformed = true;
|
|
322
334
|
}
|
|
323
335
|
if (
|
|
324
336
|
/^(if|while|for|try|switch|catch)/.test(processedContent) &&
|
|
@@ -327,21 +339,40 @@ const toEjsAst = (file) => {
|
|
|
327
339
|
!processedContent.endsWith(";")
|
|
328
340
|
) {
|
|
329
341
|
processedContent += " {";
|
|
342
|
+
isTransformed = true;
|
|
330
343
|
}
|
|
331
344
|
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
+
if (isTransformed) {
|
|
346
|
+
const startIndex = tagMatch.index;
|
|
347
|
+
const maxLen = fullMatch.length;
|
|
348
|
+
const needsSemi =
|
|
349
|
+
processedContent.length > 0 &&
|
|
350
|
+
!processedContent.endsWith("{") &&
|
|
351
|
+
!processedContent.endsWith("}") &&
|
|
352
|
+
!processedContent.endsWith(";");
|
|
353
|
+
if (needsSemi) processedContent += ";";
|
|
354
|
+
|
|
355
|
+
for (let k = 0; k < processedContent.length; k++) {
|
|
356
|
+
if (k < maxLen) {
|
|
357
|
+
out[startIndex + k] = processedContent[k];
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
} else {
|
|
361
|
+
const startIndex = tagMatch.index + openTag.length;
|
|
362
|
+
const endIndex = tagMatch.index + fullMatch.length - closeTag.length;
|
|
363
|
+
|
|
364
|
+
for (let k = startIndex; k < endIndex; k++) {
|
|
365
|
+
out[k] = codeWithoutScriptTag[k];
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
const needsSemi =
|
|
369
|
+
processedContent.length > 0 &&
|
|
370
|
+
!processedContent.endsWith("{") &&
|
|
371
|
+
!processedContent.endsWith("}") &&
|
|
372
|
+
!processedContent.endsWith(";");
|
|
373
|
+
|
|
374
|
+
if (needsSemi) {
|
|
375
|
+
out[endIndex] = ";";
|
|
345
376
|
}
|
|
346
377
|
}
|
|
347
378
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?php return array(
|
|
2
2
|
'root' => array(
|
|
3
3
|
'name' => '__root__',
|
|
4
|
-
'pretty_version' => 'v1.1.
|
|
5
|
-
'version' => '1.1.
|
|
6
|
-
'reference' => '
|
|
4
|
+
'pretty_version' => 'v1.1.3',
|
|
5
|
+
'version' => '1.1.3.0',
|
|
6
|
+
'reference' => '9852b961af87584439a8367973e4b9d73101c537',
|
|
7
7
|
'type' => 'library',
|
|
8
8
|
'install_path' => __DIR__ . '/../../',
|
|
9
9
|
'aliases' => array(),
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
),
|
|
12
12
|
'versions' => array(
|
|
13
13
|
'__root__' => array(
|
|
14
|
-
'pretty_version' => 'v1.1.
|
|
15
|
-
'version' => '1.1.
|
|
16
|
-
'reference' => '
|
|
14
|
+
'pretty_version' => 'v1.1.3',
|
|
15
|
+
'version' => '1.1.3.0',
|
|
16
|
+
'reference' => '9852b961af87584439a8367973e4b9d73101c537',
|
|
17
17
|
'type' => 'library',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_readme": [
|
|
3
|
+
"This file locks the dependencies of your project to a known state",
|
|
4
|
+
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
|
5
|
+
"This file is @generated automatically"
|
|
6
|
+
],
|
|
7
|
+
"content-hash": "4ada460927b79cef097dac97641f1695",
|
|
8
|
+
"packages": [
|
|
9
|
+
{
|
|
10
|
+
"name": "nikic/php-parser",
|
|
11
|
+
"version": "v5.7.0",
|
|
12
|
+
"source": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/nikic/PHP-Parser.git",
|
|
15
|
+
"reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82"
|
|
16
|
+
},
|
|
17
|
+
"dist": {
|
|
18
|
+
"type": "zip",
|
|
19
|
+
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82",
|
|
20
|
+
"reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82",
|
|
21
|
+
"shasum": ""
|
|
22
|
+
},
|
|
23
|
+
"require": {
|
|
24
|
+
"ext-ctype": "*",
|
|
25
|
+
"ext-json": "*",
|
|
26
|
+
"ext-tokenizer": "*",
|
|
27
|
+
"php": ">=7.4"
|
|
28
|
+
},
|
|
29
|
+
"require-dev": {
|
|
30
|
+
"ircmaxell/php-yacc": "^0.0.7",
|
|
31
|
+
"phpunit/phpunit": "^9.0"
|
|
32
|
+
},
|
|
33
|
+
"bin": [
|
|
34
|
+
"bin/php-parse"
|
|
35
|
+
],
|
|
36
|
+
"type": "library",
|
|
37
|
+
"extra": {
|
|
38
|
+
"branch-alias": {
|
|
39
|
+
"dev-master": "5.x-dev"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"autoload": {
|
|
43
|
+
"psr-4": {
|
|
44
|
+
"PhpParser\\": "lib/PhpParser"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"notification-url": "https://packagist.org/downloads/",
|
|
48
|
+
"license": [
|
|
49
|
+
"BSD-3-Clause"
|
|
50
|
+
],
|
|
51
|
+
"authors": [
|
|
52
|
+
{
|
|
53
|
+
"name": "Nikita Popov"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"description": "A PHP parser written in PHP",
|
|
57
|
+
"keywords": [
|
|
58
|
+
"parser",
|
|
59
|
+
"php"
|
|
60
|
+
],
|
|
61
|
+
"support": {
|
|
62
|
+
"issues": "https://github.com/nikic/PHP-Parser/issues",
|
|
63
|
+
"source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0"
|
|
64
|
+
},
|
|
65
|
+
"time": "2025-12-06T11:56:16+00:00"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"packages-dev": [],
|
|
69
|
+
"aliases": [],
|
|
70
|
+
"minimum-stability": "stable",
|
|
71
|
+
"stability-flags": {},
|
|
72
|
+
"prefer-stable": false,
|
|
73
|
+
"prefer-lowest": false,
|
|
74
|
+
"platform": {},
|
|
75
|
+
"platform-dev": {},
|
|
76
|
+
"plugin-api-version": "2.9.0"
|
|
77
|
+
}
|
package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.7.0/gem_make.out
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext/prism
|
|
2
|
-
/opt/hostedtoolcache/Ruby/4.0.
|
|
2
|
+
/opt/hostedtoolcache/Ruby/4.0.1/x64/bin/ruby extconf.rb
|
|
3
3
|
checking for prism.h in /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/include... yes
|
|
4
4
|
checking for prism/extension.h in /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext... yes
|
|
5
5
|
checking for whether -fvisibility=hidden is accepted as CFLAGS... yes
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext/prism
|
|
9
|
-
make -j5 DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make -j5 DESTDIR\= sitearchdir\=./.gem.20260202-2304-53abzp sitelibdir\=./.gem.20260202-2304-53abzp clean
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext/prism
|
|
12
|
-
make -j5 DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make -j5 DESTDIR\= sitearchdir\=./.gem.20260202-2304-53abzp sitelibdir\=./.gem.20260202-2304-53abzp
|
|
13
13
|
compiling api_node.c
|
|
14
14
|
compiling api_pack.c
|
|
15
15
|
compiling extension.c
|
|
@@ -37,8 +37,8 @@ compiling ./../../src/util/pm_strpbrk.c
|
|
|
37
37
|
linking shared-object prism/prism.so
|
|
38
38
|
|
|
39
39
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext/prism
|
|
40
|
-
make -j5 DESTDIR\= sitearchdir\=./.gem.
|
|
41
|
-
/usr/bin/install -c -m 0755 prism.so ./.gem.
|
|
40
|
+
make -j5 DESTDIR\= sitearchdir\=./.gem.20260202-2304-53abzp sitelibdir\=./.gem.20260202-2304-53abzp install
|
|
41
|
+
/usr/bin/install -c -m 0755 prism.so ./.gem.20260202-2304-53abzp/prism
|
|
42
42
|
|
|
43
43
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext/prism
|
|
44
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
44
|
+
make DESTDIR\= sitearchdir\=./.gem.20260202-2304-53abzp sitelibdir\=./.gem.20260202-2304-53abzp clean
|
package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.7.0/mkmf.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
find_header: checking for prism.h in /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/include... -------------------- yes
|
|
2
2
|
|
|
3
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.
|
|
3
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.1/x64/lib LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/4.0.1/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/4.0.1/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/4.0.1/x64/lib -L/opt/hostedtoolcache/Ruby/4.0.1/x64/lib -lruby -lm -lpthread -lc"
|
|
4
4
|
checked program was:
|
|
5
5
|
/* begin */
|
|
6
6
|
1: #include "ruby.h"
|
|
@@ -11,7 +11,7 @@ checked program was:
|
|
|
11
11
|
6: }
|
|
12
12
|
/* end */
|
|
13
13
|
|
|
14
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.
|
|
14
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.1/x64/lib LSAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -c conftest.c"
|
|
15
15
|
conftest.c:3:10: fatal error: prism.h: No such file or directory
|
|
16
16
|
3 | #include <prism.h>
|
|
17
17
|
| ^~~~~~~~~
|
|
@@ -23,7 +23,7 @@ checked program was:
|
|
|
23
23
|
3: #include <prism.h>
|
|
24
24
|
/* end */
|
|
25
25
|
|
|
26
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.
|
|
26
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.1/x64/lib LSAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -I/home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/include -c conftest.c"
|
|
27
27
|
checked program was:
|
|
28
28
|
/* begin */
|
|
29
29
|
1: #include "ruby.h"
|
|
@@ -35,7 +35,7 @@ checked program was:
|
|
|
35
35
|
|
|
36
36
|
find_header: checking for prism/extension.h in /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext... -------------------- yes
|
|
37
37
|
|
|
38
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.
|
|
38
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.1/x64/lib LSAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0 -I. -I/home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/include -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -c conftest.c"
|
|
39
39
|
conftest.c:3:10: fatal error: prism/extension.h: No such file or directory
|
|
40
40
|
3 | #include <prism/extension.h>
|
|
41
41
|
| ^~~~~~~~~~~~~~~~~~~
|
|
@@ -47,7 +47,7 @@ checked program was:
|
|
|
47
47
|
3: #include <prism/extension.h>
|
|
48
48
|
/* end */
|
|
49
49
|
|
|
50
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.
|
|
50
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.1/x64/lib LSAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0 -I. -I/home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/include -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -I/home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext -c conftest.c"
|
|
51
51
|
checked program was:
|
|
52
52
|
/* begin */
|
|
53
53
|
1: #include "ruby.h"
|
|
@@ -59,7 +59,7 @@ checked program was:
|
|
|
59
59
|
|
|
60
60
|
append_cflags: checking for whether -fvisibility=hidden is accepted as CFLAGS... -------------------- yes
|
|
61
61
|
|
|
62
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.
|
|
62
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/4.0.1/x64/lib LSAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0 -I. -I/home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/include -I/home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/ext -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -fvisibility=hidden -Werror -c conftest.c"
|
|
63
63
|
checked program was:
|
|
64
64
|
/* begin */
|
|
65
65
|
1: #include "ruby.h"
|
|
Binary file
|
package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/gem_make.out
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse
|
|
2
|
-
/opt/hostedtoolcache/Ruby/4.0.
|
|
2
|
+
/opt/hostedtoolcache/Ruby/4.0.1/x64/bin/ruby extconf.rb
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse
|
|
6
|
-
make -j5 DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make -j5 DESTDIR\= sitearchdir\=./.gem.20260202-2304-gwwmy2 sitelibdir\=./.gem.20260202-2304-gwwmy2 clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse
|
|
9
|
-
make -j5 DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make -j5 DESTDIR\= sitearchdir\=./.gem.20260202-2304-gwwmy2 sitelibdir\=./.gem.20260202-2304-gwwmy2
|
|
10
10
|
compiling cparse.c
|
|
11
11
|
linking shared-object racc/cparse.so
|
|
12
12
|
|
|
13
13
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse
|
|
14
|
-
make -j5 DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.
|
|
14
|
+
make -j5 DESTDIR\= sitearchdir\=./.gem.20260202-2304-gwwmy2 sitelibdir\=./.gem.20260202-2304-gwwmy2 install
|
|
15
|
+
/usr/bin/install -c -m 0755 cparse.so ./.gem.20260202-2304-gwwmy2/racc
|
|
16
16
|
|
|
17
17
|
current directory: /home/runner/work/atom-parsetools/atom-parsetools/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse
|
|
18
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
18
|
+
make DESTDIR\= sitearchdir\=./.gem.20260202-2304-gwwmy2 sitelibdir\=./.gem.20260202-2304-gwwmy2 clean
|
package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/racc/cparse.so
CHANGED
|
Binary file
|
|
@@ -13,12 +13,12 @@ NULLCMD = :
|
|
|
13
13
|
#### Start of system configuration section. ####
|
|
14
14
|
|
|
15
15
|
srcdir = .
|
|
16
|
-
topdir = /opt/hostedtoolcache/Ruby/4.0.
|
|
16
|
+
topdir = /opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0
|
|
17
17
|
hdrdir = $(topdir)
|
|
18
|
-
arch_hdrdir = /opt/hostedtoolcache/Ruby/4.0.
|
|
18
|
+
arch_hdrdir = /opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux
|
|
19
19
|
PATH_SEPARATOR = :
|
|
20
20
|
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby:$(srcdir)/../../src:$(srcdir)/../../src/util
|
|
21
|
-
prefix = $(DESTDIR)/opt/hostedtoolcache/Ruby/4.0.
|
|
21
|
+
prefix = $(DESTDIR)/opt/hostedtoolcache/Ruby/4.0.1/x64
|
|
22
22
|
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
|
23
23
|
rubyarchprefix = $(rubylibprefix)/$(arch)
|
|
24
24
|
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
|
Binary file
|
|
@@ -13,12 +13,12 @@ NULLCMD = :
|
|
|
13
13
|
#### Start of system configuration section. ####
|
|
14
14
|
|
|
15
15
|
srcdir = .
|
|
16
|
-
topdir = /opt/hostedtoolcache/Ruby/4.0.
|
|
16
|
+
topdir = /opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0
|
|
17
17
|
hdrdir = $(topdir)
|
|
18
|
-
arch_hdrdir = /opt/hostedtoolcache/Ruby/4.0.
|
|
18
|
+
arch_hdrdir = /opt/hostedtoolcache/Ruby/4.0.1/x64/include/ruby-4.0.0/x86_64-linux
|
|
19
19
|
PATH_SEPARATOR = :
|
|
20
20
|
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
|
21
|
-
prefix = $(DESTDIR)/opt/hostedtoolcache/Ruby/4.0.
|
|
21
|
+
prefix = $(DESTDIR)/opt/hostedtoolcache/Ruby/4.0.1/x64
|
|
22
22
|
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
|
23
23
|
rubyarchprefix = $(rubylibprefix)/$(arch)
|
|
24
24
|
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
|
Binary file
|