aboutsummaryrefslogtreecommitdiffstats
path: root/lllc
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-11-21 18:42:38 +0800
committerchriseth <c@ethdev.com>2016-11-21 18:42:38 +0800
commitb318366e6f16ed6a4274247d09badac4affff8d5 (patch)
treeef8dac7fe9285c1bc0b24ad042a3cda5565a661d /lllc
parent4633f3def897db0f91237f98cf46e5d84fb05e61 (diff)
parent5ebd31ce2d7447917740088eaa22c8c62c453a94 (diff)
downloaddexon-solidity-b318366e6f16ed6a4274247d09badac4affff8d5.tar.gz
dexon-solidity-b318366e6f16ed6a4274247d09badac4affff8d5.tar.zst
dexon-solidity-b318366e6f16ed6a4274247d09badac4affff8d5.zip
Merge remote-tracking branch 'origin/develop' into release
Diffstat (limited to 'lllc')
-rw-r--r--lllc/main.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/lllc/main.cpp b/lllc/main.cpp
index f8677be0..9763e820 100644
--- a/lllc/main.cpp
+++ b/lllc/main.cpp
@@ -27,11 +27,18 @@
#include <libdevcore/CommonIO.h>
#include <libdevcore/CommonData.h>
#include <libevmasm/Instruction.h>
+#include <solidity/BuildInfo.h>
+
using namespace std;
using namespace dev;
using namespace dev::solidity;
using namespace dev::eth;
+static string const VersionString =
+ string(ETH_PROJECT_VERSION) +
+ (string(SOL_VERSION_PRERELEASE).empty() ? "" : "-" + string(SOL_VERSION_PRERELEASE)) +
+ (string(SOL_VERSION_BUILDINFO).empty() ? "" : "+" + string(SOL_VERSION_BUILDINFO));
+
void help()
{
cout
@@ -50,7 +57,7 @@ void help()
void version()
{
cout << "LLLC, the Lovely Little Language Compiler " << endl;
- cout << " By Gav Wood, (c) 2014." << endl;
+ cout << "Version: " << VersionString << endl;
exit(0);
}