aboutsummaryrefslogtreecommitdiff
path: root/tool/lemon.c
diff options
context:
space:
mode:
authordrh <>2024-06-19 18:46:44 +0000
committerdrh <>2024-06-19 18:46:44 +0000
commit8cf7bd544870b5455397060f2743be1ea8e3294f (patch)
tree6a9c6d45eca17f9a5690e77c358cd57a16feaa47 /tool/lemon.c
parent199f091a9508ff117326e0f81dc6e4573be1ac6c (diff)
downloadsqlite-8cf7bd544870b5455397060f2743be1ea8e3294f.tar.gz
sqlite-8cf7bd544870b5455397060f2743be1ea8e3294f.zip
In lemon, show all the -D options in the generated header, even if none of them
are used. FossilOrigin-Name: 2aa009c38bb207ac59b9bbd6f8e0d7315697b3fd6a01f9431f29a3c7ccad53e7
Diffstat (limited to 'tool/lemon.c')
-rw-r--r--tool/lemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lemon.c b/tool/lemon.c
index a919f447c..767dab323 100644
--- a/tool/lemon.c
+++ b/tool/lemon.c
@@ -4503,7 +4503,7 @@ void ReportTable(
fprintf(out,
"/* This file is automatically generated by Lemon from input grammar\n"
"** source file \"%s\"", lemp->filename); lineno++;
- if( nDefineUsed==0 ){
+ if( nDefine==0 ){
fprintf(out, ".\n*/\n"); lineno += 2;
}else{
fprintf(out, " with these options:\n**\n"); lineno += 2;