Alexander Arlt
5b9096a381
[solc] Exit code 2 for exceptions.
2022-11-01 12:56:05 +01:00
wechman
9dc26af829
Use "C" instead user environment locale in solc
2022-03-14 09:07:48 +01:00
Kamil Śliwak
c8380c25bb
CommandLineInterface: Update control flow to accommodate the new way of reporting errors
2021-11-09 18:16:30 +01:00
Kamil Śliwak
a1c9c1e2b5
CommandLineInterface: Merge processInput() and actOnInput()
...
- The distinction between them is not as clear-cut as it should be. For example processInput() prints output in assembly mode.
2021-11-02 16:31:45 +01:00
Saurabh Sharma
e13dc5084d
Move exception handlers from CommandLineInterface to main()
2021-10-07 17:20:19 +02:00
Kamil Śliwak
9a7c364c71
Process input files in Standard JSON mode just like in other modes
...
- This makes `-` for stdin work.
- `--ignore-missing` now works with `--standard-json`, though it's not very useful because there can be at most one input file.
- Separate errors for situations where there are no input files on the command line (this can be detected in the parser) and where they are not present on disk.
2021-07-27 15:54:32 +02:00
Kamil Śliwak
4c479b5689
CommandLineInterface: Accept the standard input stream as a parameter
2021-07-07 12:53:15 +02:00
Kamil Śliwak
bb64d366ea
CommandLineInterface: Accept output streams as parameters
2021-07-07 12:53:15 +02:00
Sachin Grover
b7adb2aa42
Add SPDX license identifier if not present already in source file
...
Fixes : #9220
2020-07-17 20:24:12 +05:30
Christian Parpart
6b23412fae
C++ namespace cleanup (except tests).
2020-01-07 15:51:50 +01:00
chriseth
f2cee9ec0c
Include cleanup.
2019-03-28 14:32:48 +01:00
Alex Beregszaszi
3e2f0b589d
Remove some global symbols
2017-08-09 12:44:53 +01:00
chriseth
31a5e5bfef
Do not overwrite files unless forced.
2017-03-10 19:23:43 +01:00
VoR0220
3f9f725737
Fix licensing headers
...
Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-23 12:22:33 +01:00
Bob Summerwill
be3f4bda21
Corrected accidental non-ANSI characters in comments.
2016-08-31 13:01:48 -07:00
Christopher Gilbert
68bd463bea
Code review changes: Renamed function and added some documentation about what the function does and why
2016-08-30 20:32:30 +01:00
Christopher Gilbert
a91bca7937
Code review changes: stylistic changes, and removed redundant call to set locale.
2016-08-30 16:13:21 +01:00
Christopher Gilbert
1b9147d7db
Fixed a bug causing solc to crash on startup due to invalid environment settings for locale
2016-08-30 12:29:37 +01:00
chriseth
0906042ce0
More information for help screen, some fixes for argument parsing.
2015-08-20 02:12:37 +02:00
chriseth
b429a67a9e
Moved solc files.
2015-08-19 13:02:21 +02:00