Produce AST even when there are parser errors

This commit is contained in:
rocky
2019-08-07 15:25:53 +02:00
committed by chriseth
parent efa2648771
commit 7fd7cc1e76
13 changed files with 209 additions and 84 deletions
@@ -0,0 +1,8 @@
recovery_ast_constructor/input.sol:5:27: Error: Expected primary expression.
balances[tx.origin] = ; // missing RHS.
^
recovery_ast_constructor/input.sol:5:27: Warning: Recovered in Statement at ';'.
balances[tx.origin] = ; // missing RHS.
^
Compilation halted after AST generation due to errors.