Skip to content

Commit dafeca6

Browse files
tzezulafniephaus
authored andcommitted
[GR-60617] Update ANTLR4 to version 4.13.2.
PullRequest: graal/19836
2 parents 47d997e + 926700f commit dafeca6

File tree

18 files changed

+31
-31
lines changed

18 files changed

+31
-31
lines changed

sulong/projects/com.oracle.truffle.llvm.asm.amd64/src/com/oracle/truffle/llvm/asm/amd64/InlineAssembly.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
33
*
44
* All rights reserved.
55
*

sulong/projects/com.oracle.truffle.llvm.asm.amd64/src/com/oracle/truffle/llvm/asm/amd64/InlineAssemblyLexer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
33
*
44
* All rights reserved.
55
*
@@ -44,7 +44,7 @@
4444

4545
@SuppressWarnings({"all", "this-escape"})
4646
public class InlineAssemblyLexer extends Lexer {
47-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
47+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
4848

4949
protected static final DFA[] _decisionToDFA;
5050
protected static final PredictionContextCache _sharedContextCache =

sulong/projects/com.oracle.truffle.llvm.asm.amd64/src/com/oracle/truffle/llvm/asm/amd64/InlineAssemblyParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
33
*
44
* All rights reserved.
55
*
@@ -46,7 +46,7 @@
4646

4747
@SuppressWarnings({"all", "this-escape"})
4848
public class InlineAssemblyParser extends Parser {
49-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
49+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
5050

5151
protected static final DFA[] _decisionToDFA;
5252
protected static final PredictionContextCache _sharedContextCache =

sulong/projects/com.oracle.truffle.llvm.runtime/src/com/oracle/truffle/llvm/runtime/debug/debugexpr/parser/antlr/DebugExpression.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
33
*
44
* All rights reserved.
55
*

sulong/projects/com.oracle.truffle.llvm.runtime/src/com/oracle/truffle/llvm/runtime/debug/debugexpr/parser/antlr/DebugExpressionLexer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
33
*
44
* All rights reserved.
55
*
@@ -44,7 +44,7 @@
4444

4545
@SuppressWarnings({"all", "this-escape"})
4646
public class DebugExpressionLexer extends Lexer {
47-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
47+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
4848

4949
protected static final DFA[] _decisionToDFA;
5050
protected static final PredictionContextCache _sharedContextCache =

sulong/projects/com.oracle.truffle.llvm.runtime/src/com/oracle/truffle/llvm/runtime/debug/debugexpr/parser/antlr/DebugExpressionParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
33
*
44
* All rights reserved.
55
*
@@ -60,7 +60,7 @@
6060

6161
@SuppressWarnings({"all", "this-escape"})
6262
public class DebugExpressionParser extends Parser {
63-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
63+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
6464

6565
protected static final DFA[] _decisionToDFA;
6666
protected static final PredictionContextCache _sharedContextCache =

truffle/external_repos/simplelanguage/generate_parser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040
# SOFTWARE.
4141
#
4242

43-
curl -O https://www.antlr.org/download/antlr-4.12.0-complete.jar
43+
curl -O https://www.antlr.org/download/antlr-4.13.2-complete.jar
4444
$JAVA_HOME/bin/java -cp antlr-4.12.0-complete.jar org.antlr.v4.Tool -package com.oracle.truffle.sl.parser -no-listener language/src/main/java/com/oracle/truffle/sl/parser/SimpleLanguage.g4

truffle/external_repos/simplelanguage/language/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</parent>
4949
<artifactId>simplelanguage</artifactId>
5050
<properties>
51-
<antlr.version>4.12.0</antlr.version>
51+
<antlr.version>4.13.2</antlr.version>
5252
</properties>
5353
<build>
5454
<plugins>

truffle/mx.truffle/suite.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,19 @@
8282

8383
"ANTLR4": {
8484
"moduleName": "org.antlr.antlr4.runtime",
85-
"digest" : "sha512:4abb69a3c6895edeec64c11d61886fbeb68eda5ebb21094f596e4f7add8afa9ff049c05fa916264b9185ac9013b16d8eabf44fb65da0b6871997c8f1473a3771",
86-
"sourceDigest" : "sha512:611840da04cf2768f234ef06d69d95ed6edb2c55a48c3cffdf96ab23e76fc3bdd03e900155e454d2dd23ce8b644d48882a980aa6f5a76905dbbad57320d1cce0",
85+
"digest" : "sha512:1c3e47b6b5dc40ca13927a7ae2ed187f470b8f406cea325e73c7a18af8e07b9ada0484312dd611f225f030b5585924932c702fd9326c143a626e271682b2b95e",
86+
"sourceDigest" : "sha512:11978d2fb7322b1441ac7e69a4c80b33d53428b9ef6cf5cead4f26913a7d97bcd3da0a857447a1fa026351a6bbca767db602db961807ac9544e29cf38540241c",
8787
"maven" : {
8888
"groupId" : "org.antlr",
8989
"artifactId" : "antlr4-runtime",
90-
"version" : "4.12.0",
90+
"version" : "4.13.2",
9191
}
9292
},
9393

9494
"ANTLR4_COMPLETE": {
95-
# original: https://www.antlr.org/download/antlr-4.12.0-complete.jar
96-
"urls": ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/antlr-4.12.0-complete.jar"],
97-
"digest": "sha512:f92f976375421ef117a97cb4298b7478b849370334a1eaf2efb243bd510e79358f258f47327deb2b9441843e7061acc67add2d034259f3136d97da8a09e545a4",
95+
# original: https://www.antlr.org/download/antlr-4.13.2-complete.jar
96+
"urls": ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/antlr-4.13.2-complete.jar"],
97+
"digest": "sha512:22569a011d207fb8f33e7e71162542a5748cc3daa67eec59cbdc2aeb0894c331dfb8b6100ea88529c6cea72672cbddd77ca6134ddf331685d68b3e72b4e0a914",
9898
},
9999

100100
"JCODINGS_1.0.58": {

truffle/src/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/Expression.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0

truffle/src/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/ExpressionLexer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -55,7 +55,7 @@
5555

5656
@SuppressWarnings({"all", "this-escape"})
5757
public class ExpressionLexer extends Lexer {
58-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
58+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
5959

6060
protected static final DFA[] _decisionToDFA;
6161
protected static final PredictionContextCache _sharedContextCache =

truffle/src/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/ExpressionParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -57,7 +57,7 @@
5757

5858
@SuppressWarnings({"all", "this-escape"})
5959
public class ExpressionParser extends Parser {
60-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
60+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
6161

6262
protected static final DFA[] _decisionToDFA;
6363
protected static final PredictionContextCache _sharedContextCache =

truffle/src/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguage.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0

truffle/src/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguageBaseVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0

truffle/src/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguageLexer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -55,7 +55,7 @@
5555

5656
@SuppressWarnings({"all", "this-escape"})
5757
public class SimpleLanguageLexer extends Lexer {
58-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
58+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
5959

6060
protected static final DFA[] _decisionToDFA;
6161
protected static final PredictionContextCache _sharedContextCache =

truffle/src/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguageParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -55,7 +55,7 @@
5555

5656
@SuppressWarnings({"all", "this-escape"})
5757
public class SimpleLanguageParser extends Parser {
58-
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
58+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
5959

6060
protected static final DFA[] _decisionToDFA;
6161
protected static final PredictionContextCache _sharedContextCache =

truffle/src/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguageVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0

vm/mx.vm/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
{
5959
"name": "fastr",
60-
"version": "535ed2600bf37ea86a662d81bd4ce26b606f6c8d",
60+
"version": "fc7097456c0472454c9d73b348fc704ad1983898",
6161
"dynamic": True,
6262
"urls": [
6363
{"url": "https://github.com/oracle/fastr.git", "kind": "git"},

0 commit comments

Comments
 (0)