File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ function abort (msg) {
35
35
36
36
if ( program . standardJson ) {
37
37
var input = fs . readFileSync ( process . stdin . fd ) . toString ( 'utf8' ) ;
38
- var output = solc . compileStandardWrapper ( input ) ;
38
+ var output = solc . compile ( input ) ;
39
39
40
40
try {
41
41
var inputJSON = smtchecker . handleSMTQueries ( JSON . parse ( input ) , JSON . parse ( output ) , smtsolver . smtSolver ) ;
42
42
if ( inputJSON ) {
43
- output = solc . compileStandardWrapper ( JSON . stringify ( inputJSON ) ) ;
43
+ output = solc . compile ( JSON . stringify ( inputJSON ) ) ;
44
44
}
45
45
}
46
46
catch ( e ) {
@@ -80,7 +80,7 @@ for (var i = 0; i < files.length; i++) {
80
80
}
81
81
}
82
82
83
- var output = JSON . parse ( solc . compileStandardWrapper ( JSON . stringify ( {
83
+ var output = JSON . parse ( solc . compile ( JSON . stringify ( {
84
84
language : 'Solidity' ,
85
85
settings : {
86
86
optimizer : {
Original file line number Diff line number Diff line change @@ -583,7 +583,6 @@ function runTests (solc, versionText) {
583
583
584
584
t . test ( 'compiling standard JSON (multiple sources on old compiler)' , function ( st ) {
585
585
var output = JSON . parse ( solc . compile ( '{"language":"Solidity","sources":{"cont.sol":{"content":"import \\"lib.sol\\";"},"lib.sol":{"content":""}}}' ) ) ;
586
- console . log ( output ) ;
587
586
if ( solc . features . multipleInputs ) {
588
587
st . ok ( expectNoError ( output ) ) ;
589
588
} else {
You can’t perform that action at this time.
0 commit comments