mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Revert Lemon so that it only shows -D options that are actually used. Though
the change to display the options in sorted order is retained. FossilOrigin-Name: e54eb217c9508c19aee085b111a1323c9009f014ba4db6019918e27002c4ca8c
This commit is contained in:
@ -4503,12 +4503,12 @@ void ReportTable(
|
||||
fprintf(out,
|
||||
"/* This file is automatically generated by Lemon from input grammar\n"
|
||||
"** source file \"%s\"", lemp->filename); lineno++;
|
||||
if( nDefine==0 ){
|
||||
if( nDefineUsed==0 ){
|
||||
fprintf(out, ".\n*/\n"); lineno += 2;
|
||||
}else{
|
||||
fprintf(out, " with these options:\n**\n"); lineno += 2;
|
||||
for(i=0; i<nDefine; i++){
|
||||
/* if( !bDefineUsed[i] ) continue; */
|
||||
if( !bDefineUsed[i] ) continue;
|
||||
fprintf(out, "** -D%s\n", azDefine[i]); lineno++;
|
||||
}
|
||||
fprintf(out, "*/\n"); lineno++;
|
||||
|
Reference in New Issue
Block a user