mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove parser error recovery mode
This commit is contained in:
@@ -158,14 +158,6 @@ public:
|
||||
/// Sets whether to strip revert strings, add additional strings or do nothing at all.
|
||||
void setRevertStringBehaviour(RevertStrings _revertStrings);
|
||||
|
||||
/// Set whether or not parser error is desired.
|
||||
/// When called without an argument it will revert to the default.
|
||||
/// Must be set before parsing.
|
||||
void setParserErrorRecovery(bool _wantErrorRecovery = false)
|
||||
{
|
||||
m_parserErrorRecovery = _wantErrorRecovery;
|
||||
}
|
||||
|
||||
/// Sets the pipeline to go through the Yul IR or not.
|
||||
/// Must be set before parsing.
|
||||
void setViaIR(bool _viaIR);
|
||||
@@ -511,7 +503,6 @@ private:
|
||||
bool m_metadataLiteralSources = false;
|
||||
MetadataHash m_metadataHash = MetadataHash::IPFS;
|
||||
langutil::DebugInfoSelection m_debugInfoSelection = langutil::DebugInfoSelection::Default();
|
||||
bool m_parserErrorRecovery = false;
|
||||
State m_stackState = Empty;
|
||||
CompilationSourceType m_compilationSourceType = CompilationSourceType::Solidity;
|
||||
MetadataFormat m_metadataFormat = defaultMetadataFormat();
|
||||
|
||||
Reference in New Issue
Block a user