mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-27 10:03:13 +01:00
Add 'v' back in at beginning of global.version.
The lexer expects it to be there for handling __VERSION__.
This commit is contained in:
@@ -87,7 +87,7 @@ static cl::list<std::string, StringsAdapter> debuglibs("debuglib",
|
||||
|
||||
void printVersion() {
|
||||
printf("LDC - the LLVM D compiler (%s):\n", global.ldc_version);
|
||||
printf(" based on DMD v%s and LLVM %s\n", global.version, global.llvm_version);
|
||||
printf(" based on DMD %s and LLVM %s\n", global.version, global.llvm_version);
|
||||
printf(" Default target: %s\n", llvm::sys::getDefaultTargetTriple().c_str());
|
||||
std::string CPU = llvm::sys::getHostCPUName();
|
||||
if (CPU == "generic") CPU = "(unknown)";
|
||||
|
||||
Reference in New Issue
Block a user