From 45afcb5b79380bb5aec4add590328a777b730685 Mon Sep 17 00:00:00 2001 From: Dmitry Litovchenko Date: Tue, 24 Sep 2024 18:42:43 +0500 Subject: [PATCH] removed dart runtime for solidity + fixed true literal tokens for python --- solidity/SolidityLexer.g4 | 4 ++-- solidity/SolidityParser.g4 | 4 ++-- solidity/desc.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/solidity/SolidityLexer.g4 b/solidity/SolidityLexer.g4 index 107571c263..d23eaf529e 100644 --- a/solidity/SolidityLexer.g4 +++ b/solidity/SolidityLexer.g4 @@ -143,7 +143,7 @@ Fallback : 'fallback' ; -False +FalseLiteral : 'false' ; @@ -369,7 +369,7 @@ Transient : 'transient' ; // not a real keyword -True +TrueLiteral : 'true' ; diff --git a/solidity/SolidityParser.g4 b/solidity/SolidityParser.g4 index 09a8d9dc6b..4a663cc5d4 100644 --- a/solidity/SolidityParser.g4 +++ b/solidity/SolidityParser.g4 @@ -533,8 +533,8 @@ literalWithSubDenomination ; boolLiteral - : True - | False + : TrueLiteral + | FalseLiteral ; /** diff --git a/solidity/desc.xml b/solidity/desc.xml index 3c57d45acb..2b33b0792c 100644 --- a/solidity/desc.xml +++ b/solidity/desc.xml @@ -1,4 +1,4 @@ - CSharp;Cpp;Dart;Go;Java;JavaScript;PHP;Python3;TypeScript;Antlr4ng + CSharp;Cpp;Go;Java;JavaScript;PHP;Python3;TypeScript;Antlr4ng