Skip to content

Commit d89dae0

Browse files
authored
Merge pull request #34 from LefterisJP/fix_33
Remove no longer existing --use-std solc option
2 parents 3a0afdf + bc87db1 commit d89dae0

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

solidity-flycheck.el

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,6 @@ Possible values are:
7373
:safe #'booleanp
7474
:package-version '(solidity . "0.1.5"))
7575

76-
(flycheck-def-option-var flycheck-solidity-solc-addstd-contracts nil solidity-checker
77-
"Whether to add standard solidity contracts.
78-
79-
When non-nil, enable add also standard solidity contracts via
80-
`--add-std'."
81-
:type 'boolean
82-
:safe #'booleanp
83-
:package-version '(solidity-mode . "0.1.3"))
84-
8576
(flycheck-def-option-var flycheck-solidity-solium-soliumrcfile nil solium-check
8677
"The path to use for soliumrc.json
8778
@@ -98,9 +89,7 @@ we pass the directory to solium via the `--config' option."
9889
;; (let ((next-checkers-val `((,solidity-flycheck-chaining-error-level . solium-checker))))
9990
;; (flycheck-define-checker solidity-checker
10091
;; "A Solidity syntax checker using the solc compiler"
101-
;; :command ("solc"
102-
;; (option-flag "--add-std" flycheck-solidity-solc-addstd-contracts)
103-
;; source-inplace)
92+
;; :command ("solc" source-inplace)
10493
;; :error-patterns
10594
;; ((error line-start (file-name) ":" line ":" column ":" " Error: " (message))
10695
;; (error line-start "Error: " (message))
@@ -116,9 +105,7 @@ we pass the directory to solium via the `--config' option."
116105
(progn
117106
(flycheck-def-executable-var solidity-checker "solc")
118107
(flycheck-define-command-checker 'solidity-checker "A Solidity syntax checker using the solc compiler" :command
119-
'("solc"
120-
(option-flag "--add-std" flycheck-solidity-solc-addstd-contracts)
121-
source-inplace)
108+
'("solc" source-inplace)
122109
:error-patterns
123110
'((error line-start
124111
(file-name)

0 commit comments

Comments
 (0)