Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

WIP: issue#260 enable parserErrorRecovery and update to 0.5.10 #263

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
issue#260 enable parserErrorRecovery and update to 0.5.10
  • Loading branch information
flantony committed Jul 2, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit ffe4c67afb4cccd8a5b3e87fb5bf194b3f3ead27
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ public ParameterBuilder(String language) {
private Settings defaultSettings() {
Settings settings = new Settings();
settings.setOptimizer(defaultOptimizer());
settings.setParserErrorRecovery(true);
Map<String, Map<String, List<String>>> output = Maps.newHashMap();
HashMap<String, List<String>> internalOutputs = Maps.newHashMap();
internalOutputs.put("*", Lists.newArrayList());
Original file line number Diff line number Diff line change
@@ -26,6 +26,8 @@ public class Settings {

private Optimizer optimizer;

private Boolean parserErrorRecovery;

private Map<String, Library> libraries;

private Map<String, Map<String, List<String>>> outputSelection;
@@ -53,4 +55,14 @@ public Map<String, Map<String, List<String>>> getOutputSelection() {
public void setOutputSelection(Map<String, Map<String, List<String>>> outputSelection) {
this.outputSelection = outputSelection;
}

public Boolean getParserErrorRecovery() {
return parserErrorRecovery;
}

public void setParserErrorRecovery(Boolean parserErrorRecovery) {
this.parserErrorRecovery = parserErrorRecovery;
}


}
Original file line number Diff line number Diff line change
@@ -2,6 +2,6 @@

public interface SolidityVersion {
public static final String SOLIDITY_VERSION = "solidity_version";
public static final String DEFAULT_SOLIDITY_VERSION = "^0.5.4";
public static final String DEFAULT_SOLIDITY_VERSION = "^0.5.10";
public static final String MIN_SUPPORTED_VERSION = "^0.5";
}