LLL: turn off optimiser by default

This commit is contained in:
Alex Beregszaszi 2016-10-25 02:15:21 +01:00
parent 43e42482a7
commit 3a6ac6226c

View File

@ -41,7 +41,7 @@ void help()
<< " -x,--hex Parse, compile and assemble; output byte code in hex." << endl
<< " -a,--assembly Only parse and compile; show assembly." << endl
<< " -t,--parse-tree Only parse; show parse tree." << endl
<< " -o,--optimise Turn on/off the optimiser; on by default." << endl
<< " -o,--optimise Turn on/off the optimiser; off by default." << endl
<< " -h,--help Show this help message and exit." << endl
<< " -V,--version Show the version and exit." << endl;
exit(0);
@ -82,7 +82,7 @@ enum Mode { Binary, Hex, Assembly, ParseTree, Disassemble };
int main(int argc, char** argv)
{
setDefaultOrCLocale();
unsigned optimise = 1;
unsigned optimise = 0;
string infile;
Mode mode = Hex;