Skip to content

Commit

Permalink
[GR-60617] Update ANTLR4 to version 4.13.2.
Browse files Browse the repository at this point in the history
PullRequest: graal/19836
  • Loading branch information
tzezula authored and fniephaus committed Jan 21, 2025
2 parents 47d997e + 926700f commit dafeca6
Show file tree
Hide file tree
Showing 18 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down Expand Up @@ -44,7 +44,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down Expand Up @@ -46,7 +46,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down Expand Up @@ -44,7 +44,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
* Copyright (c) 2016, 2025, Oracle and/or its affiliates.
*
* All rights reserved.
*
Expand Down Expand Up @@ -60,7 +60,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
2 changes: 1 addition & 1 deletion truffle/external_repos/simplelanguage/generate_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
# SOFTWARE.
#

curl -O https://www.antlr.org/download/antlr-4.12.0-complete.jar
curl -O https://www.antlr.org/download/antlr-4.13.2-complete.jar
$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
2 changes: 1 addition & 1 deletion truffle/external_repos/simplelanguage/language/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</parent>
<artifactId>simplelanguage</artifactId>
<properties>
<antlr.version>4.12.0</antlr.version>
<antlr.version>4.13.2</antlr.version>
</properties>
<build>
<plugins>
Expand Down
12 changes: 6 additions & 6 deletions truffle/mx.truffle/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,19 @@

"ANTLR4": {
"moduleName": "org.antlr.antlr4.runtime",
"digest" : "sha512:4abb69a3c6895edeec64c11d61886fbeb68eda5ebb21094f596e4f7add8afa9ff049c05fa916264b9185ac9013b16d8eabf44fb65da0b6871997c8f1473a3771",
"sourceDigest" : "sha512:611840da04cf2768f234ef06d69d95ed6edb2c55a48c3cffdf96ab23e76fc3bdd03e900155e454d2dd23ce8b644d48882a980aa6f5a76905dbbad57320d1cce0",
"digest" : "sha512:1c3e47b6b5dc40ca13927a7ae2ed187f470b8f406cea325e73c7a18af8e07b9ada0484312dd611f225f030b5585924932c702fd9326c143a626e271682b2b95e",
"sourceDigest" : "sha512:11978d2fb7322b1441ac7e69a4c80b33d53428b9ef6cf5cead4f26913a7d97bcd3da0a857447a1fa026351a6bbca767db602db961807ac9544e29cf38540241c",
"maven" : {
"groupId" : "org.antlr",
"artifactId" : "antlr4-runtime",
"version" : "4.12.0",
"version" : "4.13.2",
}
},

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

"JCODINGS_1.0.58": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -55,7 +55,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -57,7 +57,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -55,7 +55,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -55,7 +55,7 @@

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

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down
2 changes: 1 addition & 1 deletion vm/mx.vm/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
{
"name": "fastr",
"version": "535ed2600bf37ea86a662d81bd4ce26b606f6c8d",
"version": "fc7097456c0472454c9d73b348fc704ad1983898",
"dynamic": True,
"urls": [
{"url": "https://github.com/oracle/fastr.git", "kind": "git"},
Expand Down

0 comments on commit dafeca6

Please sign in to comment.